dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #26527
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 13130: Minor
------------------------------------------------------------
revno: 13130
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2013-12-03 17:35:10 +0100
message:
Minor
modified:
dhis-2/dhis-web/dhis-web-dataentry/src/main/java/org/hisp/dhis/de/action/LoadFormAction.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-dataentry/src/main/java/org/hisp/dhis/de/action/LoadFormAction.java'
--- dhis-2/dhis-web/dhis-web-dataentry/src/main/java/org/hisp/dhis/de/action/LoadFormAction.java 2013-12-03 16:29:54 +0000
+++ dhis-2/dhis-web/dhis-web-dataentry/src/main/java/org/hisp/dhis/de/action/LoadFormAction.java 2013-12-03 16:35:10 +0000
@@ -404,7 +404,7 @@
for ( DataElementOperand operand : section.getGreyedFields() )
{
- if ( operand.getDataElement() != null && operand.getCategoryOptionCombo() != null )
+ if ( operand != null && operand.getDataElement() != null && operand.getCategoryOptionCombo() != null )
{
greyedFields.put( operand.getDataElement().getUid() + ":" + operand.getCategoryOptionCombo().getUid(), true );
}