[Fusionforge-commits] r9007 - trunk/gforge/common/survey

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Wed Mar 10 16:45:42 CET 2010


Author: aljeux
Date: 2010-03-10 16:45:42 +0100 (Wed, 10 Mar 2010)
New Revision: 9007

Modified:
   trunk/gforge/common/survey/Survey.class.php
Log:
No need to shout

Modified: trunk/gforge/common/survey/Survey.class.php
===================================================================
--- trunk/gforge/common/survey/Survey.class.php	2010-03-10 10:58:33 UTC (rev 9006)
+++ trunk/gforge/common/survey/Survey.class.php	2010-03-10 15:45:42 UTC (rev 9007)
@@ -100,11 +100,11 @@
 	 */
 	function create($survey_title, $add_questions, $is_active=0, $is_public=1, $is_result_public=0, $double_vote=0) {
 		if (!$survey_title) {
-			$this->setError(_('UPDATE FAILED: Survey Title Required'));
+			$this->setError(_('Update Failed: Survey Title Required'));
 			return false;
 			/* We need at least one survey question at this point */	
 		} else if (!$add_questions || !is_array($add_questions) || count($add_questions)<1) {
-			$this->setError(_('UPDATE FAILED: Survey Questions Required'));
+			$this->setError(_('Update Failed: Survey Questions Required'));
 			return false;
 		}
 
@@ -144,7 +144,7 @@
 	 */
 	function update($survey_title, &$add_questions, &$del_questions, $is_active=0, $is_public=1, $is_result_public=0, $double_vote=0) {
 		if (!$survey_title) {
-			$this->setError(_('UPDATE FAILED: Survey Title Required'));
+			$this->setError(_('Update Failed: Survey Title Required'));
 			return false;
 			/* We need at least one survey question at this point */	
 		}




More information about the Fusionforge-commits mailing list