[Fusionforge-commits] r7808 - branches/Branch_4_8/gforge/www/include

Roland Mas lolando at libremir.placard.fr.eu.org
Thu Jun 11 11:40:14 CEST 2009


Author: lolando
Date: 2009-06-11 11:40:14 +0200 (Thu, 11 Jun 2009)
New Revision: 7808

Modified:
   branches/Branch_4_8/gforge/www/include/project_home.php
Log:
Brown paper bag bugfix: sprintf() is not printf()

Modified: branches/Branch_4_8/gforge/www/include/project_home.php
===================================================================
--- branches/Branch_4_8/gforge/www/include/project_home.php	2009-06-10 22:21:40 UTC (rev 7807)
+++ branches/Branch_4_8/gforge/www/include/project_home.php	2009-06-11 09:40:14 UTC (rev 7808)
@@ -298,7 +298,7 @@
 		for ($j = 0; $j < $rows; $j++) {
 			echo '<li>' ;
 			print util_make_link ('/tracker/?atid='. db_result($result, $j, 'group_artifact_id') . '&amp;group_id='.$group_id.'&amp;func=browse',db_result($result, $j, 'name')) . ' ' ;
-			sprintf(ngettext('(<strong>%1$s</strong> open / <strong>%2$s</strong> total)', '(<strong>%1$s</strong> open / <strong>%2$s</strong> total)', (int) db_result($result, $j, 'open_count')), (int) db_result($result, $j, 'open_count'), (int) db_result($result, $j, 'count')) .'<br />'.
+			printf(ngettext('(<strong>%1$s</strong> open / <strong>%2$s</strong> total)', '(<strong>%1$s</strong> open / <strong>%2$s</strong> total)', (int) db_result($result, $j, 'open_count')), (int) db_result($result, $j, 'open_count'), (int) db_result($result, $j, 'count')) .'<br />'.
 			 db_result($result, $j, 'description');
 			echo '</li>' ;
 		}




More information about the Fusionforge-commits mailing list