[Solar-svn] Revision 2605

pmjones at solarphp.com pmjones at solarphp.com
Sat Jul 21 16:32:15 CDT 2007


Solar_Form: [REV] Need to use $_config for the action, otherwise reset() doesn't work


Modified: trunk/Solar/Form.php
===================================================================
--- trunk/Solar/Form.php	2007-07-21 20:33:05 UTC (rev 2604)
+++ trunk/Solar/Form.php	2007-07-21 21:32:15 UTC (rev 2605)
@@ -275,8 +275,8 @@
         );
         
         // make sure we have an action
-        if (empty($this->attribs['action'])) {
-            $this->attribs['action'] = $this->_request->server('REQUEST_URI');
+        if (empty($this->_config['attribs']['action'])) {
+            $this->_config['attribs']['action'] = $this->_request->server('REQUEST_URI');
         }
         
         $this->_obj_filter = Solar::factory('Solar_Filter');




More information about the Solar-svn mailing list