[Fusionforge-commits] r8718 - trunk/gforge/www/project/admin

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Sat Feb 6 21:22:34 CET 2010


Author: aljeux
Date: 2010-02-06 21:22:34 +0100 (Sat, 06 Feb 2010)
New Revision: 8718

Modified:
   trunk/gforge/www/project/admin/users.php
Log:
Fix deprecated call to db_query

Modified: trunk/gforge/www/project/admin/users.php
===================================================================
--- trunk/gforge/www/project/admin/users.php	2010-02-06 20:17:15 UTC (rev 8717)
+++ trunk/gforge/www/project/admin/users.php	2010-02-06 20:22:34 UTC (rev 8718)
@@ -270,11 +270,12 @@
 
 		*/
 
-		$res_memb = db_query("SELECT users.realname,users.user_id,
+		$res_memb = db_query_params('SELECT users.realname,users.user_id,
 			users.user_name,user_group.admin_flags,user_group.role_id
 			FROM users,user_group 
 			WHERE users.user_id=user_group.user_id 
-			AND user_group.group_id='$group_id' ORDER BY users.realname");
+			AND user_group.group_id=$1 ORDER BY users.realname',
+			array($group_id));
 
 		while ($row_memb=db_fetch_array($res_memb)) {
 




More information about the Fusionforge-commits mailing list