Romain
unread,Nov 21, 2009, 1:18:44 PM11/21/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Smarty Developers
Hi everyone,
I have just found a bug in the lastest release of Smarty (3 beta4) :
If I write in my template a line like this :
{$foo|@count}
I have the expected result but before my template it's displayed :
array(1) { [1]=> string(122) "$_smarty_tpl->smarty->plugin_handler-
>executeModifier('count',array($_smarty_tpl->getVariable('foo')-
>value),false)" }
It only happens on the first Smarty refresh, when smarty compiles the
Smarty syntax code to php code.
A var_dump that a developer forgot to remove ? :-)
Great job for this new smarty version !
Romain