[fusion-commits] r1600 - trunk/MapServer/php
svn_fusion at osgeo.org
svn_fusion at osgeo.org
Tue Oct 21 10:56:47 EDT 2008
Author: madair
Date: 2008-10-21 10:56:47 -0400 (Tue, 21 Oct 2008)
New Revision: 1600
Modified:
trunk/MapServer/php/SetLayers.php
Log:
closes #142: patch applied to trunk
Modified: trunk/MapServer/php/SetLayers.php
===================================================================
--- trunk/MapServer/php/SetLayers.php 2008-10-21 14:55:45 UTC (rev 1599)
+++ trunk/MapServer/php/SetLayers.php 2008-10-21 14:56:47 UTC (rev 1600)
@@ -49,7 +49,7 @@
if (count($currentLayers) != count($layers) ) {
echo "/* removing layers ";
- for ($i=0; $i<count($layers); $i++) {
+ for ($i=0; $i<count($currentLayers); $i++) {
if ($i != $layers[$i]) {
echo $i." ";
$layer = $oMap->getLayer($i);
More information about the fusion-commits
mailing list