Show
Ignore:
Timestamp:
03/09/06 12:09:00 (6 years ago)
Author:
john
Message:

bug fixes

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/trax/vendor/trax/action_controller.php

    r163 r164  
    895895                } 
    896896            }           
    897              
     897 
    898898            # Pull all the class vars out and turn them from $this->var to $var 
    899             extract(get_object_vars($this->controller_object)); 
     899            if(is_object($this->controller_object)) { 
     900                extract(get_object_vars($this->controller_object)); 
     901            } 
    900902            if(array_key_exists("collection", $options)) { 
    901903                foreach($options['collection'] as $tmp_value) {