[fusion-commits] r2375 - trunk/layers/MapServer/php
svn_fusion at osgeo.org
svn_fusion at osgeo.org
Wed May 4 10:38:46 EDT 2011
Author: assefa
Date: 2011-05-04 07:38:46 -0700 (Wed, 04 May 2011)
New Revision: 2375
Modified:
trunk/layers/MapServer/php/updateSessionMapFile.php
Log:
use explode instead of depricated spit function
Modified: trunk/layers/MapServer/php/updateSessionMapFile.php
===================================================================
--- trunk/layers/MapServer/php/updateSessionMapFile.php 2011-05-03 19:46:34 UTC (rev 2374)
+++ trunk/layers/MapServer/php/updateSessionMapFile.php 2011-05-04 14:38:46 UTC (rev 2375)
@@ -4,7 +4,7 @@
if (isset($_SESSION['maps']) && isset($_SESSION['maps'][$mapName])) {
$oMap = ms_newMapObj($_SESSION['maps'][$mapName]);
// set visible layers
- setVisibleLayers(split(",",$_REQUEST["visLayers"]));
+ setVisibleLayers(explode(",",$_REQUEST["visLayers"]));
// update the layers list that is in use
//updateActiveLayers(split(",",$_REQUEST["layers"]));
@@ -48,4 +48,4 @@
}
}
-?>
\ No newline at end of file
+?>
More information about the fusion-commits
mailing list