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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Sun Dec 12 04:40:11 EST 2010


Author: christoph
Date: 2010-12-12 01:40:11 -0800 (Sun, 12 Dec 2010)
New Revision: 7248

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

Modified: trunk/mapbender/http/php/mod_user_filteredGui.php
===================================================================
--- trunk/mapbender/http/php/mod_user_filteredGui.php	2010-12-12 09:38:22 UTC (rev 7247)
+++ trunk/mapbender/http/php/mod_user_filteredGui.php	2010-12-12 09:40:11 UTC (rev 7248)
@@ -17,13 +17,16 @@
 # 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_filteredGui";
 require_once(dirname(__FILE__)."/mb_validatePermission.php");
 /*
  * @security_patch irv open
  */
-security_patch_log(__FILE__,__LINE__); 
-import_request_variables("PG"); 
-$e_id="user_filteredGui";
+//security_patch_log(__FILE__,__LINE__);
+$postvars = explode(",", "filter1,selected_user,selected_gui,insert,remove,remove_gui");
+foreach ($postvars as $value) {
+   $$value = $_POST[$value];
+}
 
 require_once(dirname(__FILE__)."/../classes/class_wms.php");
 



More information about the Mapbender_commits mailing list