[Fusionforge-commits] r15507 - branches/Branch_5_1/src/common/widget

Thorsten Glaser mirabilos at fusionforge.org
Fri May 11 18:40:55 CEST 2012


Author: mirabilos
Date: 2012-05-11 18:40:54 +0200 (Fri, 11 May 2012)
New Revision: 15507

Modified:
   branches/Branch_5_1/src/common/widget/Widget_MySurveys.class.php
Log:
no, you do not put a number into an array to output that as string?\226?\128?\166


Modified: branches/Branch_5_1/src/common/widget/Widget_MySurveys.class.php
===================================================================
--- branches/Branch_5_1/src/common/widget/Widget_MySurveys.class.php	2012-05-11 14:56:39 UTC (rev 15506)
+++ branches/Branch_5_1/src/common/widget/Widget_MySurveys.class.php	2012-05-11 16:40:54 UTC (rev 15507)
@@ -109,7 +109,7 @@
 					}
 				}
 
-				$html_hdr .= '['.count($surveys).($count_new ? ", <b>".sprintf(_('%s new'), array($count_new))."</b>]" : ']').'</td></tr>';
+				$html_hdr .= '['.count($surveys).($count_new ? ", <b>".sprintf(_('%d new'), $count_new)."</b>]" : ']').'</td></tr>';
 				$html_my_surveys .= $html_hdr.$html;
 			}
 			$html_my_surveys .= '</table>';




More information about the Fusionforge-commits mailing list