[PHPTAL] bug?

Gosi gosi at usk18.de
Tue Mar 18 23:32:47 CET 2008


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



More information about the PHPTAL mailing list