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
If {insert name="test"} is in main template and other template is included into main template (while caching is enabled) - I see in browser part of php code like:
"/%%SmartyNocache:8801992865bb72d3e5b40d0_75775836%%/smarty; if (!is_callable('smarty_insert_test')) require_once ..."
instead of output of {insert}.
But {insert} works well when no templates is included or when caching is disabled.
This bug appeared in version 3.1.28 (3.1.27 is ok) and is still in master.
I've attached a test case - needs to be unpacked in distro folder. bug.zip
Hope my test files will be useful to fix this problem :)
The text was updated successfully, but these errors were encountered:
uwetews
added a commit
to smarty-php/smarty-phpunit
that referenced
this issue
Oct 9, 2018
If {insert name="test"} is in main template and other template is included into main template (while caching is enabled) - I see in browser part of php code like:
"/%%SmartyNocache:8801992865bb72d3e5b40d0_75775836%%/smarty; if (!is_callable('smarty_insert_test')) require_once ..."
instead of output of {insert}.
But {insert} works well when no templates is included or when caching is disabled.
This bug appeared in version 3.1.28 (3.1.27 is ok) and is still in master.
I've attached a test case - needs to be unpacked in distro folder.
bug.zip
Hope my test files will be useful to fix this problem :)
The text was updated successfully, but these errors were encountered: