[Fusionforge-commits] r11038 - trunk/src/www/project/stats

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Mon Oct 18 18:38:32 CEST 2010


Author: aljeux
Date: 2010-10-18 18:38:32 +0200 (Mon, 18 Oct 2010)
New Revision: 11038

Modified:
   trunk/src/www/project/stats/project_stats_utils.php
Log:
Fix missing array in SQL query in project stats.

Modified: trunk/src/www/project/stats/project_stats_utils.php
===================================================================
--- trunk/src/www/project/stats/project_stats_utils.php	2010-10-18 16:38:26 UTC (rev 11037)
+++ trunk/src/www/project/stats/project_stats_utils.php	2010-10-18 16:38:32 UTC (rev 11038)
@@ -58,9 +58,9 @@
 		WHERE group_id=$1 ORDER BY month DESC, day DESC";
 
 	if ($span == 30) {
-		$res = db_query_params($sql, $group_id, 30, 0, SYS_DB_STATS);
+		$res = db_query_params($sql, array($group_id), 30, 0, SYS_DB_STATS);
 	} else {
-		$res = db_query_params($sql, $group_id,  7, 0, SYS_DB_STATS);
+		$res = db_query_params($sql, array($group_id),  7, 0, SYS_DB_STATS);
 	}
 
 	echo db_error();




More information about the Fusionforge-commits mailing list