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