Monday 24 September 2007 5:26:54 am
Hi all, I have a strange behavior with the <b>extract_left</b> operator. This is ok :
{'/'|ezroot(no, full)|extract_left(30)}
I have an error with the following, <b>only with TemplateCompile=enabled</b> :
{def $tmppos = 30}
{'/'|ezroot(no, full)|extract_left($tmppos)}
=> Parse error: syntax error, unexpected '%' in... my php compiled template Can't i use a variable as a parameter !? I've got this problem on a 3.9.1 and 3.9.2... i'm going to do my own operator, but what a shame ! By the way, it's the same problem with <i>extract</i> Any ideas ?
|