[Solar-svn] Revision 2604
pmjones at solarphp.com
pmjones at solarphp.com
Sat Jul 21 15:33:05 CDT 2007
don't manipulate $_config, should leave it as the user set it
Modified: trunk/Solar/Form.php
===================================================================
--- trunk/Solar/Form.php 2007-07-21 20:30:56 UTC (rev 2603)
+++ trunk/Solar/Form.php 2007-07-21 20:33:05 UTC (rev 2604)
@@ -268,17 +268,17 @@
$this->_config['request']
);
- // make sure we have an action
- if (empty($this->_config['attribs']['action'])) {
- $this->_config['attribs']['action'] = $this->_request->server('REQUEST_URI');
- }
-
// retain setups, create validator/filter objects
$this->attribs = array_merge(
$this->_Solar_Form['attribs'],
$this->_config['attribs']
);
+ // make sure we have an action
+ if (empty($this->attribs['action'])) {
+ $this->attribs['action'] = $this->_request->server('REQUEST_URI');
+ }
+
$this->_obj_filter = Solar::factory('Solar_Filter');
$this->_obj_valid = Solar::factory('Solar_Valid');
}
More information about the Solar-svn
mailing list