dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #20103
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 9056: very minor
------------------------------------------------------------
revno: 9056
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
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() ) );
}