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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Sun Dec 12 03:51:55 EST 2010


Author: christoph
Date: 2010-12-12 00:51:55 -0800 (Sun, 12 Dec 2010)
New Revision: 7246

Modified:
   trunk/mapbender/http/php/mod_user_gui.php
Log:
bug fix

Modified: trunk/mapbender/http/php/mod_user_gui.php
===================================================================
--- trunk/mapbender/http/php/mod_user_gui.php	2010-12-12 08:38:08 UTC (rev 7245)
+++ trunk/mapbender/http/php/mod_user_gui.php	2010-12-12 08:51:55 UTC (rev 7246)
@@ -17,16 +17,20 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
-
+$e_id="user_gui";
 require_once(dirname(__FILE__)."/mb_validatePermission.php");
 /*  
- * @security_patch irv open 
+ * @security_patch irv done
  */ 
-security_patch_log(__FILE__,__LINE__); 
-import_request_variables("PG"); 
-$e_id="user_gui";
+//security_patch_log(__FILE__,__LINE__);
 
-require_once(dirname(__FILE__)."/../classes/class_wms.php"); 
+require_once(dirname(__FILE__)."/../classes/class_wms.php");
+
+$postvars = explode(",", "filter1,selected_user,insert,remove,remove_gui,selected_gui");
+foreach ($postvars as $value) {
+   $$value = $_POST[$value];
+}
+
 ?>
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 



More information about the Mapbender_commits mailing list