[Fusionforge-commits] r9281 - trunk/gforge/utils/fixscripts

Roland Mas lolando at libremir.placard.fr.eu.org
Mon Mar 29 16:32:05 CEST 2010


Author: lolando
Date: 2010-03-29 16:32:04 +0200 (Mon, 29 Mar 2010)
New Revision: 9281

Modified:
   trunk/gforge/utils/fixscripts/normalize_roles.php
Log:
Use db_query_params() in normalize_roles.php

Modified: trunk/gforge/utils/fixscripts/normalize_roles.php
===================================================================
--- trunk/gforge/utils/fixscripts/normalize_roles.php	2010-03-29 14:31:39 UTC (rev 9280)
+++ trunk/gforge/utils/fixscripts/normalize_roles.php	2010-03-29 14:32:04 UTC (rev 9281)
@@ -34,7 +34,8 @@
 
 setup_plugin_manager () ;
 
-$res=db_query("SELECT group_id, group_name FROM groups");
+$res = db_query_params ('SELECT group_id, group_name FROM groups',
+			array ());
 
 $rows=db_numrows($res);
 




More information about the Fusionforge-commits mailing list