[pLog-svn] r3579 - plog/trunk/class/summary/action

oscar at devel.lifetype.net oscar at devel.lifetype.net
Wed Jun 14 17:38:45 GMT 2006


Author: oscar
Date: 2006-06-14 17:38:44 +0000 (Wed, 14 Jun 2006)
New Revision: 3579

Modified:
   plog/trunk/class/summary/action/activeaccountaction.class.php
Log:
fixed a bug displaying the error message when using an incorrect activation code


Modified: plog/trunk/class/summary/action/activeaccountaction.class.php
===================================================================
--- plog/trunk/class/summary/action/activeaccountaction.class.php	2006-06-14 16:55:29 UTC (rev 3578)
+++ plog/trunk/class/summary/action/activeaccountaction.class.php	2006-06-14 17:38:44 UTC (rev 3579)
@@ -36,7 +36,8 @@
 		        
         $activeCode = $userInfo->getValue("activeCode");
         if($activeCode != $this->activeCode){
-            $this->_view = new SummaryView( "summaryerror", $this->_locale->tr("error_invalid_activation_code"));
+            $this->_view = new SummaryView( "summaryerror");
+            $this->_view->setErrorMessage( $this->_locale->tr("error_invalid_activation_code"));
             return false;
         }
         



More information about the pLog-svn mailing list