svn commit: r440 - trunk/mapbender/http/classes/class_administration.php

uli at osgeo.org uli at osgeo.org
Wed Jun 14 05:11:14 EDT 2006


Author: uli
Date: 2006-06-14 09:11:14+0000
New Revision: 440

Modified:
   trunk/mapbender/http/classes/class_administration.php

Log:
bug fixed - sql missing arguments in function delAllUsersOfGui

Modified: trunk/mapbender/http/classes/class_administration.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/classes/class_administration.php?view=diff&rev=440&p1=trunk/mapbender/http/classes/class_administration.php&p2=trunk/mapbender/http/classes/class_administration.php&r1=439&r2=440
==============================================================================
--- trunk/mapbender/http/classes/class_administration.php	(original)
+++ trunk/mapbender/http/classes/class_administration.php	2006-06-14 09:11:14+0000
@@ -291,7 +291,7 @@
 		$sql = "DELETE FROM gui_mb_user WHERE fkey_gui_id = $1 ";
 		$v = array($guiId);
 		$t = array('s');
-		$res = db_prep_query($sql);
+		$res = db_prep_query($sql,$v,$t);
 		if (!$res) {
 			return false;
 		}




More information about the Mapbender_commits mailing list