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

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Tue Jan 5 18:19:59 CET 2010


Author: aljeux
Date: 2010-01-05 18:19:59 +0100 (Tue, 05 Jan 2010)
New Revision: 8628

Modified:
   trunk/gforge/www/project/admin/project_admin_utils.php
Log:
Fix SQL query in prdb_namespace_seek()

Modified: trunk/gforge/www/project/admin/project_admin_utils.php
===================================================================
--- trunk/gforge/www/project/admin/project_admin_utils.php	2010-01-04 13:32:32 UTC (rev 8627)
+++ trunk/gforge/www/project/admin/project_admin_utils.php	2010-01-05 17:19:59 UTC (rev 8628)
@@ -200,9 +200,7 @@
  */
 function prdb_namespace_seek($namecheck) {
 
-	$query = "select * 
-from prdb_dbs 
-where dbname = $1";
+	$query = 'SELECT * FROM prdb_dbs WHERE dbname=$1';
 
 	$res_dbl = db_query_params($query, array($namecheck));
 




More information about the Fusionforge-commits mailing list