[Fusionforge-commits] r8823 - trunk/gforge/www/export

Roland Mas lolando at libremir.placard.fr.eu.org
Fri Feb 12 17:49:33 CET 2010


Author: lolando
Date: 2010-02-12 17:49:32 +0100 (Fri, 12 Feb 2010)
New Revision: 8823

Modified:
   trunk/gforge/www/export/rss20_activity.php
Log:
Fixed SQL error

Modified: trunk/gforge/www/export/rss20_activity.php
===================================================================
--- trunk/gforge/www/export/rss20_activity.php	2010-02-12 16:45:35 UTC (rev 8822)
+++ trunk/gforge/www/export/rss20_activity.php	2010-02-12 16:49:32 UTC (rev 8823)
@@ -45,8 +45,9 @@
 	$link = "?group_id=$group_id";
 	$description = " of ".$row['group_name'];
 
-	$reswm = db_query_params ('SELECT users.user_name,users.realname FROM user_group,users WHERE group_id=$group_id AND admin_flags=$1 AND users.user_id=user_group.user_id ORDER BY users.add_date',
-				  array('A'),
+	$reswm = db_query_params ('SELECT users.user_name,users.realname FROM user_group,users WHERE group_id=$1 AND admin_flags=$2 AND users.user_id=user_group.user_id ORDER BY users.add_date',
+				  array($group_id,
+					'A'),
 				  1);
 	if ($rowwm = db_fetch_array($reswm)) {
 		$webmaster = $rowwm['user_name']."@".$GLOBALS['sys_users_host']." (".$rowwm['realname'].")";




More information about the Fusionforge-commits mailing list