[fusion-commits] r1986 - trunk/widgets/Theme/classes
svn_fusion at osgeo.org
svn_fusion at osgeo.org
Mon Nov 23 04:45:04 EST 2009
Author: christinebao
Date: 2009-11-23 04:44:59 -0500 (Mon, 23 Nov 2009)
New Revision: 1986
Modified:
trunk/widgets/Theme/classes/theme.php
Log:
Fix ticket http://trac.osgeo.org/fusion/ticket/321
Theme: The object with biggest value doesn't display correctly with Equal Distribution
Modified: trunk/widgets/Theme/classes/theme.php
===================================================================
--- trunk/widgets/Theme/classes/theme.php 2009-11-20 03:04:10 UTC (rev 1985)
+++ trunk/widgets/Theme/classes/theme.php 2009-11-23 09:44:59 UTC (rev 1986)
@@ -320,7 +320,7 @@
for ($i = 0; $i < count($values) - 1; $i++)
{
$filterText = '"' . $this->args['PROPERTYNAME'] . '" >= ' . $values[$i] . ' AND "' . $this->args['PROPERTYNAME'];
- if ($i == count($values) - 1)
+ if ($i == count($values) - 2)
$filterText .= '" <= ' . $values[$i + 1];
else
$filterText .= '" < ' . $values[$i + 1];
More information about the fusion-commits
mailing list