Show
Ignore:
Timestamp:
03/19/09 10:40:34 (3 years ago)
Author:
john
Message:

features and bug fixes from gocoffeego project

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/trax/vendor/trax/action_view/helpers.php

    r280 r308  
    134134     */ 
    135135    protected function value() { 
    136         if (array_key_exists($this->object_name, $_REQUEST) 
     136        if (array_key_exists($this->object_name, (array)$_REQUEST) 
    137137            && array_key_exists($this->attribute_name, 
    138                                  $_REQUEST[$this->object_name])) { 
     138                                 (array)$_REQUEST[$this->object_name])) { 
    139139            $value = $_REQUEST[$this->object_name][$this->attribute_name]; 
    140140        } else { 
    141  
    142141            //  Attribute value not found in $_REQUEST.  Find the 
    143142            //  ActiveRecord subclass instance and query it.