[Mapbender-commits] r8406 - trunk/mapbender/http/classes

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Jul 3 00:29:33 PDT 2012


Author: tbaschetti
Date: 2012-07-03 00:29:33 -0700 (Tue, 03 Jul 2012)
New Revision: 8406

Modified:
   trunk/mapbender/http/classes/class_weldMaps2PNG_rotate.php
Log:
substituded split() with explode (split is deprecated in PHP >= 5.3) 


Modified: trunk/mapbender/http/classes/class_weldMaps2PNG_rotate.php
===================================================================
--- trunk/mapbender/http/classes/class_weldMaps2PNG_rotate.php	2012-07-03 07:22:39 UTC (rev 8405)
+++ trunk/mapbender/http/classes/class_weldMaps2PNG_rotate.php	2012-07-03 07:29:33 UTC (rev 8406)
@@ -50,7 +50,7 @@
             $obj->set("height", $neededHeight);
                 
             $map_extent = $obj->get("BBOX");
-            $coord = split(",",$map_extent);
+            $coord = explode(",",$map_extent);
             $coord = $this->enlargeExtent($coord, $width, $height, $neededWidth, $neededHeight);
             
             $obj->set("BBOX", implode(",", $coord));



More information about the Mapbender_commits mailing list