[Mapbender-commits] r7509 - trunk/mapbender/lib

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon Jan 31 16:43:45 EST 2011


Author: christoph
Date: 2011-01-31 13:43:44 -0800 (Mon, 31 Jan 2011)
New Revision: 7509

Modified:
   trunk/mapbender/lib/class_GetApi.php
Log:
replaced split by explode

Modified: trunk/mapbender/lib/class_GetApi.php
===================================================================
--- trunk/mapbender/lib/class_GetApi.php	2011-01-31 21:42:44 UTC (rev 7508)
+++ trunk/mapbender/lib/class_GetApi.php	2011-01-31 21:43:44 UTC (rev 7509)
@@ -77,7 +77,7 @@
 	// for possible inputs see http://www.mapbender.org/GET-Parameter#WMC
 	private function normalizeWmcInput ($input) {
 		// assume WMC=12,13,14
-		$inputArray = split(",", $input);
+		$inputArray = explode(",", $input);
 		$input = array();
 		$i = 0;
 		foreach ($inputArray as $id) {
@@ -134,7 +134,7 @@
 		}
 		else {
 			// assume LAYER=12,13,14
-			$inputArray = split(",", $input);
+			$inputArray = explode(",", $input);
 			$input = array();
 			$i = 0;
 			foreach ($inputArray as $id) {
@@ -188,7 +188,7 @@
 		}
 		else {
 			// assume FEATURETYPE=12,13,14
-			$inputArray = split(",", $input); 
+			$inputArray = explode(",", $input);
 			$input = array();
 			$i = 0;
 			foreach ($inputArray as $id) {



More information about the Mapbender_commits mailing list