------------------------------------------------------------
revno: 14278
committer: Morten Olav Hansen <[email protected]>
branch nick: dhis2
timestamp: Tue 2014-03-18 14:52:12 +0100
message:
minor fix
modified:
dhis-2/dhis-api/src/main/java/org/hisp/dhis/trackedentity/TrackedEntityAttribute.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/trackedentity/TrackedEntityAttribute.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/trackedentity/TrackedEntityAttribute.java 2014-03-18 13:40:38 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/trackedentity/TrackedEntityAttribute.java 2014-03-18 13:52:12 +0000
@@ -330,7 +330,7 @@
@JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 )
public Boolean getOrgunitScope()
{
- return orgunitScope;
+ return orgunitScope != null ? orgunitScope : false;
}
public void setOrgunitScope( Boolean orgunitScope )
@@ -343,7 +343,7 @@
@JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 )
public Boolean getProgramScope()
{
- return programScope;
+ return programScope != null ? programScope : false;
}
public void setProgramScope( Boolean programScope )
_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to : [email protected]
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp