hi,

i think there is a bug in PHPTAL.php at the executeMacro() method.

the "require_once" at line 338 is missing.

else {
        // call local macro
        require_once $this->getCodePath();
        $fun = $this->getFunctionName() . '_' . trim($path);
        if (!function_exists($fun)) throw new PHPTAL_Exception(...);
        $fun( $this, $this->_context );
}


regards
Gosi

_______________________________________________
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal

Reply via email to