------------------------------------------------------------
revno: 2243
committer: Tran Chau <[email protected]>
branch nick: dhis2
timestamp: Wed 2010-12-01 15:25:17 +0700
message:
  Fix bug: Show age of patient wrong.
modified:
  dhis-2/dhis-api/src/main/java/org/hisp/dhis/patient/Patient.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-api/src/main/java/org/hisp/dhis/patient/Patient.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/patient/Patient.java	2010-11-16 05:45:36 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/patient/Patient.java	2010-12-01 08:25:17 +0000
@@ -352,10 +352,9 @@
             age--;
         }
 
-        if ( age <= 1 )
+        if ( age < 1 )
         {
             return "( < 1 yr )";
-
         }
 
         else

_______________________________________________
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