Show
Ignore:
Timestamp:
02/28/06 12:49:52 (6 years ago)
Author:
haas
Message:

more documentation

Files:
1 modified

Legend:

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

    r142 r155  
    218218 
    219219    function __construct() { 
    220         if(!is_object($this->router)) { 
     220      if(!isset($this->router) || !is_object($this->router)) { 
    221221            $this->load_router(); 
    222222        } 
     
    507507                } 
    508508            } 
    509             if(is_array($extra_path)) { 
     509            if(isset($extra_path) && is_array($extra_path)) { 
    510510                $extra_path = implode("/", $extra_path); 
    511511                $this->added_path = $extra_path;