dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #34610
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 17743: minor fix
------------------------------------------------------------
revno: 17743
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2014-12-19 14:28:28 +0100
message:
minor fix
modified:
dhis-2/dhis-api/src/main/java/org/hisp/dhis/schema/SchemaUtils.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/schema/SchemaUtils.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/schema/SchemaUtils.java 2014-12-19 13:27:39 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/schema/SchemaUtils.java 2014-12-19 13:28:28 +0000
@@ -72,7 +72,7 @@
property.setMax( propertyRange.max() );
}
- if ( propertyRange.min() >= 0 && propertyRange.min() <= propertyMax )
+ if ( propertyRange.min() >= propertyMin && propertyRange.min() <= propertyMax )
{
property.setMin( propertyRange.min() > property.getMax() ? property.getMax() : propertyRange.min() );
}