[Fusionforge-commits] r9710 - trunk/gforge/common/valid

Mélanie Le Bail melanelebail at libremir.placard.fr.eu.org
Mon May 10 16:54:20 CEST 2010


Author: melanelebail
Date: 2010-05-10 16:54:20 +0200 (Mon, 10 May 2010)
New Revision: 9710

Modified:
   trunk/gforge/common/valid/Valid.class.php
   trunk/gforge/common/valid/ValidFactory.class.php
Log:
fix some bugs in valid class


Modified: trunk/gforge/common/valid/Valid.class.php
===================================================================
--- trunk/gforge/common/valid/Valid.class.php	2010-05-10 13:20:31 UTC (rev 9709)
+++ trunk/gforge/common/valid/Valid.class.php	2010-05-10 14:54:20 UTC (rev 9710)
@@ -141,7 +141,7 @@
      * @access private
      */
     function addFeedback($level, $error) {
-        $GLOBALS['Response']->addFeedback($level, $error);
+        $GLOBALS['feedback'].=  $level.": ". $error;
     }
 
     /**

Modified: trunk/gforge/common/valid/ValidFactory.class.php
===================================================================
--- trunk/gforge/common/valid/ValidFactory.class.php	2010-05-10 13:20:31 UTC (rev 9709)
+++ trunk/gforge/common/valid/ValidFactory.class.php	2010-05-10 14:54:20 UTC (rev 9710)
@@ -43,7 +43,7 @@
 extends Valid {
     function Valid_GroupId() {
         parent::Valid('group_id');
-        //$this->setErrorMessage($GLOBALS['Language']->getText('include_exit','no_gid_err'));
+        //$this->setErrorMessage(_("Error - No group_id was chosen."));
     }
 
     function validate($value) {




More information about the Fusionforge-commits mailing list