Hi,
I'm not sure if it is bug, but I have two same codes but each is compiled differently
{include $themeDir . '/components/confirmDelete.latte'}
{include $themeDir.'/components/confirmDelete.latte'}
First {include} returns error syntax error, unexpected '.', expecting ')'
Compilated code:
<?php $_b->templates['7691012173']->renderChildTemplate($themeDir, array(. '/components/confirmDelete.latte') + $template->getParameters()) ;
Second include works OK
The only difference is in spaces before and after . (dot)
Hi,
I'm not sure if it is bug, but I have two same codes but each is compiled differently
First {include} returns error syntax error, unexpected '.', expecting ')'
Compilated code:
Second include works OK
The only difference is in spaces before and after . (dot)