[Mapbender-commits] r7244 - trunk/mapbender/http/php

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Sun Dec 12 03:32:30 EST 2010


Author: tbaschetti
Date: 2010-12-12 00:32:30 -0800 (Sun, 12 Dec 2010)
New Revision: 7244

Modified:
   trunk/mapbender/http/php/mod_editElementVars.php
Log:
bugfix

Modified: trunk/mapbender/http/php/mod_editElementVars.php
===================================================================
--- trunk/mapbender/http/php/mod_editElementVars.php	2010-12-12 08:12:38 UTC (rev 7243)
+++ trunk/mapbender/http/php/mod_editElementVars.php	2010-12-12 08:32:30 UTC (rev 7244)
@@ -20,10 +20,23 @@
 require_once(dirname(__FILE__)."/../php/mb_validateSession.php");
 
 /*  
- * @security_patch irv open 
+ * @security_patch irv done
  */ 
-security_patch_log(__FILE__,__LINE__); 
-import_request_variables("PG"); 
+security_patch_log(__FILE__,__LINE__);
+$postvars=array("myElement","var_name","var_value","context","var_type","fkey_gui_id","fkey_e_id","myDelete","mySave");
+foreach($postvars as $value){
+        $$value=$_POST[$value];
+}
+if ($_SERVER['REQUEST_METHOD'] === 'GET'){
+    if (isset($_GET["fkey_gui_id"])){
+        $guiList1=$_GET["fkey_gui_id"];
+    }
+    if (isset($_GET["fkey_e_id"])){
+        $guiList2=$_GET["fkey_e_id"];
+    }
+}
+
+//import_request_variables("PG");
 ?>
 
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">



More information about the Mapbender_commits mailing list