[mapguide-commits] r4968 - trunk/MgDev/Web/src/mapviewerphp
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Tue Jun 22 13:04:53 EDT 2010
Author: tomfukushima
Date: 2010-06-22 17:04:53 +0000 (Tue, 22 Jun 2010)
New Revision: 4968
Modified:
trunk/MgDev/Web/src/mapviewerphp/buffer.php
Log:
#1386 buffer.php: split is deprected in PHP 5.3
Switch the use of split to preg_split. Problem found and change verified by Gordon Luckett.
Modified: trunk/MgDev/Web/src/mapviewerphp/buffer.php
===================================================================
--- trunk/MgDev/Web/src/mapviewerphp/buffer.php 2010-06-21 23:24:12 UTC (rev 4967)
+++ trunk/MgDev/Web/src/mapviewerphp/buffer.php 2010-06-22 17:04:53 UTC (rev 4968)
@@ -77,7 +77,7 @@
$layers = $map->GetLayers();
$layer = FindLayer($layers, $bufferName);
- $layerNames = split(",", $layersParam);
+ $layerNames = preg_split(",", $layersParam);
// convert distance to meters
if($units == "mi") //miles
More information about the mapguide-commits
mailing list