[Solar-svn] Revision 3011

pmjones at solarphp.com pmjones at solarphp.com
Mon Mar 17 20:54:42 CDT 2008


Solar_App_Base: [FIX] Method _error() should use _forward(), not merely set the action.


Modified: trunk/Solar/App/Base.php
===================================================================
--- trunk/Solar/App/Base.php	2008-03-18 01:45:59 UTC (rev 3010)
+++ trunk/Solar/App/Base.php	2008-03-18 01:54:42 UTC (rev 3011)
@@ -252,8 +252,8 @@
      */
     protected function _error($locale_key)
     {
-        $this->_action = 'error';
         $this->errors[] = $this->locale($locale_key);
+        return $this->_forward('error');
     }
     
     /**




More information about the Solar-svn mailing list