Changeset 308 for trunk/trax/vendor/trax/action_view/helpers.php
- Timestamp:
- 03/19/09 10:40:34 (3 years ago)
- Files:
-
- 1 modified
-
trunk/trax/vendor/trax/action_view/helpers.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/trax/vendor/trax/action_view/helpers.php
r280 r308 134 134 */ 135 135 protected function value() { 136 if (array_key_exists($this->object_name, $_REQUEST)136 if (array_key_exists($this->object_name, (array)$_REQUEST) 137 137 && array_key_exists($this->attribute_name, 138 $_REQUEST[$this->object_name])) {138 (array)$_REQUEST[$this->object_name])) { 139 139 $value = $_REQUEST[$this->object_name][$this->attribute_name]; 140 140 } else { 141 142 141 // Attribute value not found in $_REQUEST. Find the 143 142 // ActiveRecord subclass instance and query it.
