[Fusionforge-commits] r14779 - trunk/src/www/survey/admin

Alain Peyrat aljeux at fusionforge.org
Wed Nov 9 21:02:28 CET 2011


Author: aljeux
Date: 2011-11-09 21:02:28 +0100 (Wed, 09 Nov 2011)
New Revision: 14779

Modified:
   trunk/src/www/survey/admin/question.php
Log:
Add information class to message

Modified: trunk/src/www/survey/admin/question.php
===================================================================
--- trunk/src/www/survey/admin/question.php	2011-11-09 20:02:24 UTC (rev 14778)
+++ trunk/src/www/survey/admin/question.php	2011-11-09 20:02:28 UTC (rev 14779)
@@ -113,9 +113,11 @@
 /* Show existing questions (if any)
  */
 $sqf = new SurveyQuestionFactory($g);
-$sqs = & $sqf->getSurveyQuestions();
+$sqs = $sqf->getSurveyQuestions();
 if (!$sqs) {
+	echo '<p class="information">';
     echo (_('No questions found'));
+	echo '</p>';
 } else {
     echo($sh->showQuestions($sqs));
 }




More information about the Fusionforge-commits mailing list