dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #22235
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 10659: The birthdate of person isn't saved when to register a new person.
------------------------------------------------------------
revno: 10659
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2013-04-22 15:18:41 +0700
message:
The birthdate of person isn't saved when to register a new person.
modified:
dhis-2/dhis-web/dhis-web-caseentry/src/main/java/org/hisp/dhis/caseentry/action/patient/AddPatientAction.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-caseentry/src/main/java/org/hisp/dhis/caseentry/action/patient/AddPatientAction.java'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/java/org/hisp/dhis/caseentry/action/patient/AddPatientAction.java 2013-04-18 06:45:36 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/java/org/hisp/dhis/caseentry/action/patient/AddPatientAction.java 2013-04-22 08:18:41 +0000
@@ -193,7 +193,7 @@
}
Date _birthDate = new Date();
- if ( verified != null )
+ if ( birthDate != null || age != null )
{
verified = (verified == null) ? false : verified;