You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have test for exists variable variable - {if isset($rfc822Name_err_{$key})}
For smarty verison 3.1.29 code works fine. But from version 3.1.30 generated php code cause error - Undefined index: rfc822Name_err_0.
PHP source coude for 3.1.29:
I had the same phenomenon starting with Smarty 3.1.31 when using isset in a foreach or section loop and opened an issue about that here #453 - I think these two issues could be related because its also some kind of a var var situation.
Unfortunately I haven't found the reason of that problem myself yet but I thought if you want to subscribe to that maybe related issue too I link it for you here. 🙂
I have test for exists variable variable - {if isset($rfc822Name_err_{$key})}
tpl_vars['rfc822Name_err_'.($_smarty_tpl->tpl_vars['key']->value)]->value)) { PHP source coude for 3.1.32: tpl_vars['rfc822Name_err_'.($_smarty_tpl->tpl_vars['key']->value)]->value !== null ))) {For smarty verison 3.1.29 code works fine. But from version 3.1.30 generated php code cause error - Undefined index: rfc822Name_err_0.
PHP source coude for 3.1.29:
The text was updated successfully, but these errors were encountered: