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

xcorex’s picture

Remove the "&" caracter. in the first line of the pasted code.

jrglasgow’s picture

Status: Needs review » Fixed

I forgot to change this line when porting my last changes from 5.2, sorry 'bout that. This fix has been committed.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.