[Mapbender-commits] r5744 - branches/2.6/http/classes

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Thu Mar 11 04:50:19 EST 2010


Author: christoph
Date: 2010-03-11 04:50:07 -0500 (Thu, 11 Mar 2010)
New Revision: 5744

Modified:
   branches/2.6/http/classes/class_gml2.php
   branches/2.6/http/classes/class_gml_polygon.php
Log:
http://trac.osgeo.org/mapbender/ticket/625

Modified: branches/2.6/http/classes/class_gml2.php
===================================================================
--- branches/2.6/http/classes/class_gml2.php	2010-03-11 09:38:12 UTC (rev 5743)
+++ branches/2.6/http/classes/class_gml2.php	2010-03-11 09:50:07 UTC (rev 5744)
@@ -718,7 +718,7 @@
 		if (count($this->innerRingArray) <= $i) {
 			array_push($this->innerRingArray, array());
 		}
-		$index = count($this->innerRingIndex);
+		$index = count($this->innerRingArray);
 		$currentIndex = ($i < $index ? $i : $index);
 		array_push($this->innerRingArray[$currentIndex], array("x" => $x, "y" => $y));
 	}

Modified: branches/2.6/http/classes/class_gml_polygon.php
===================================================================
--- branches/2.6/http/classes/class_gml_polygon.php	2010-03-11 09:38:12 UTC (rev 5743)
+++ branches/2.6/http/classes/class_gml_polygon.php	2010-03-11 09:50:07 UTC (rev 5744)
@@ -40,7 +40,7 @@
 		if (count($this->innerRingArray) <= $i) {
 			array_push($this->innerRingArray, array());
 		}
-		$index = count($this->innerRingIndex);
+		$index = count($this->innerRingArray);
 		$currentIndex = ($i < $index ? $i : $index);
 		array_push($this->innerRingArray[$currentIndex], array("x" => $x, "y" => $y));
 	}



More information about the Mapbender_commits mailing list