[Fusionforge-commits] r7860 - trunk/gforge/www/docman/include

Roland Mas lolando at libremir.placard.fr.eu.org
Fri Jun 19 11:55:22 CEST 2009


Author: lolando
Date: 2009-06-19 11:55:22 +0200 (Fri, 19 Jun 2009)
New Revision: 7860

Modified:
   trunk/gforge/www/docman/include/doc_utils.php
Log:
Semi-automated db_query_params() transition for simple cases

Modified: trunk/gforge/www/docman/include/doc_utils.php
===================================================================
--- trunk/gforge/www/docman/include/doc_utils.php	2009-06-19 09:55:13 UTC (rev 7859)
+++ trunk/gforge/www/docman/include/doc_utils.php	2009-06-19 09:55:22 UTC (rev 7860)
@@ -137,7 +137,9 @@
 }
 
 function doc_get_state_box($checkedval='xzxz') {
-	$res_states=db_query("select * from doc_states;");
+	$res_states=db_query_params ('select * from doc_states;',
+			array()) ;
+
 	echo html_build_select_box ($res_states,'stateid',$checkedval,false);
 
 }




More information about the Fusionforge-commits mailing list