[Mapbender-commits] r4750 - trunk/mapbender/http/classes

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Sun Sep 27 05:09:04 EDT 2009


Author: kmq
Date: 2009-09-27 05:09:01 -0400 (Sun, 27 Sep 2009)
New Revision: 4750

Modified:
   trunk/mapbender/http/classes/class_group.php
Log:
fixed getList, disabled filtering by id

Modified: trunk/mapbender/http/classes/class_group.php
===================================================================
--- trunk/mapbender/http/classes/class_group.php	2009-09-27 08:23:53 UTC (rev 4749)
+++ trunk/mapbender/http/classes/class_group.php	2009-09-27 09:09:01 UTC (rev 4750)
@@ -211,9 +211,9 @@
 
 
       $groups = Array();
-      $sql_grouplist = "SELECT mb_group_id FROM mb_group WHERE mb_group_id LIKE $1 AND mb_group_name LIKE $2;";
-      $v = array($id,$name);
-      $t = array("s","s");
+      $sql_grouplist = "SELECT mb_group_id FROM mb_group WHERE  mb_group_name LIKE $1;";
+      $v = array($name);
+      $t = array("s");
       $res_groups = db_prep_query($sql_grouplist,$v,$t);
 
       while($row = db_fetch_array($res_groups))



More information about the Mapbender_commits mailing list