Re: [PHPTAL] right side expression evaluated using left side variable in tal:define

2009-04-16 Thread Kornel LesiƄski
On 16-04-2009 at 07:07:10 Ciprian Vieru wrote: It looks like tal:replace="structure label"/> result in a null value for variable label if preferences/label is not defined, even if label is defined. Indeed. This is now fixed in SVN. Thanks for the report. -- regards, Kornel __

[PHPTAL] right side expression evaluated using left side variable in tal:define

2009-04-15 Thread Ciprian Vieru
Hello, It looks like result in a null value for variable label if preferences/label is not defined, even if label is defined. The problem comes from the generated code which looks like ... if (($ctx->label = phptal_path($ctx->preferences, 'label', true)) !== null): ; elseif (($ctx->label = $ctx