|
||||
[Maplab-dev] [Bug 223] [SECTStudio-Classifier] Demote Button does not workbugzilla-daemon@www.maptools.org bugzilla-daemon@www.maptools.orgWed, 18 Feb 2004 22:01:11 -0500
|
http://www.maptools.org/bugzilla/show_bug.cgi?id=223 ------- Additional Comments From spencer@dmsolutions.ca 2004-02-18 22:01 ------- Zak: you took this one, but I found the problem (same issue in the symbolizer) ... I won't fix it because you may have found it already, but the issue is in the test $nSelectedClass != null && $nSelectedClass > 0 && $nSelectedClass < $oLayer->numclasses - 1 this should read $nSelectedClass !== null && $nSelectedClass >= 0 && $nSelectedClass < $oLayer->numclasses - 1 Note the double equals on the first condition, null is the same as 0 unless you ask for 'exactly equals' ... so fixing the second condition doesn't work because the first class (0) will fail on the first test until you make this change. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
This archive was generated by Pipermail. |
MapTools.org -- Hosted by DM Solutions Group |