Closed (fixed)
Project:
Content Templates (Contemplate)
Version:
6.x-0.6
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
4 Apr 2008 at 00:10 UTC
Updated:
18 Apr 2008 at 01:11 UTC
Parse error: syntax error, unexpected '=', expecting ')' in /home/teologia/public_html/igrejadapraia/modules/contemplate/contemplate.module on line 768
function contemplate_eval($tmplt, $obj, &$xml_elements = array()) {
extract((array)$obj);
$node = $obj;
ob_start();
print eval('?>'. $tmplt);
$output = ob_get_contents();
ob_end_clean();
return $output;
}
Comments
Comment #1
xcorex commentedRemove the "&" caracter. in the first line of the pasted code.
Comment #2
jrglasgow commentedI forgot to change this line when porting my last changes from 5.2, sorry 'bout that. This fix has been committed.
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.