[fusion-commits] r2346 - trunk/layers/MapServer/php

svn_fusion at osgeo.org svn_fusion at osgeo.org
Fri Mar 25 15:04:13 EDT 2011


Author: madair
Date: 2011-03-25 12:04:13 -0700 (Fri, 25 Mar 2011)
New Revision: 2346

Modified:
   trunk/layers/MapServer/php/Common.php
Log:
check for mapnane in both POST and GET values

Modified: trunk/layers/MapServer/php/Common.php
===================================================================
--- trunk/layers/MapServer/php/Common.php	2011-03-25 18:39:17 UTC (rev 2345)
+++ trunk/layers/MapServer/php/Common.php	2011-03-25 19:04:13 UTC (rev 2346)
@@ -67,8 +67,8 @@
     initializeSession( "session", "", $sessionID );
 }
 
-if (isset($_REQUEST['mapname'])) { 
-    $mapName = $_REQUEST['mapname'];
+if (isset($REQUEST_VARS['mapname'])) { 
+    $mapName = $REQUEST_VARS['mapname'];
 }
 
-?>
\ No newline at end of file
+?>



More information about the fusion-commits mailing list