dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #26933
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 13336: Minor
------------------------------------------------------------
revno: 13336
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2013-12-20 00:08:40 +0100
message:
Minor
modified:
dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/api/controller/DataValueController.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-api/src/main/java/org/hisp/dhis/api/controller/DataValueController.java'
--- dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/api/controller/DataValueController.java 2013-12-19 23:00:15 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/api/controller/DataValueController.java 2013-12-19 23:08:40 +0000
@@ -163,7 +163,7 @@
{
DataElementCategoryOption categoryOption = categoryService.getDataElementCategoryOption( id );
- if ( categoryOption != null )
+ if ( categoryOption == null )
{
ContextUtils.conflictResponse( response, "Illegal category option identifier: " + id );
return;