Changeset 279 for trunk

Show
Ignore:
Timestamp:
01/29/07 21:20:05 (5 years ago)
Author:
john
Message:

changed helper base value() to not query just get whats in the object

Files:
1 modified

Legend:

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

    r233 r279  
    144144            $object = $this->object(); 
    145145            if(is_object($object) && $this->attribute_name) { 
    146                 $value = $object->send($this->attribute_name); 
     146                //$value = $object->send($this->attribute_name); 
     147                $value = $object->{$this->attribute_name}; 
    147148            } 
    148149        }