------------------------------------------------------------
revno: 9056
committer: Morten Olav Hansen <[email protected]>
branch nick: dhis2
timestamp: Thu 2012-11-15 15:50:07 +0100
message:
  very minor
modified:
  
dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/api/controller/user/CurrentUserController.java


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to 
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/api/controller/user/CurrentUserController.java'
--- dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/api/controller/user/CurrentUserController.java	2012-11-15 14:48:27 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/api/controller/user/CurrentUserController.java	2012-11-15 14:50:07 +0000
@@ -210,7 +210,7 @@
         currentUser.setJobTitle( userAccount.getJobTitle() );
         currentUser.setGender( userAccount.getGender() );
 
-        if ( userAccount.getBirthday() != null && userAccount.getBirthday().isEmpty() )
+        if ( userAccount.getBirthday() != null && !userAccount.getBirthday().isEmpty() )
         {
             currentUser.setBirthday( simpleDateFormat.parse( userAccount.getBirthday() ) );
         }

_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp

Reply via email to