Hey Uwe,
I setup the following two files and displayed test.tpl in 3.0.7 and
then today's 3.1-DEV:
test.tpl:
Hi
{include file="test2.tpl" inline}
test2.tpl:
X
Doing so gave me the following message:
Notice: Undefined index: unifunc in .../Smarty-3.1rc1/libs/sysplugins/
smarty_internal_template.php on line 410
Hi
X
Fatal error: Uncaught exception 'SmartyException' with message 'Call
of unknown function 'updateParentVariables'.' in .../Smarty-3.1rc1/
libs/sysplugins/smarty_internal_templatebase.php:634
Stack trace:
#0 /tmp/
d06765369c1c2fb9c6e6b19ef2fe7b84b936d7ef.file.test.tpl.php(32):
Smarty_Internal_TemplateBase->__call('updateParentVar...', Array)
#1 /tmp/
d06765369c1c2fb9c6e6b19ef2fe7b84b936d7ef.file.test.tpl.php(32):
Smarty_Internal_Template->updateParentVariables(0)
#2 .../Smarty-3.1rc1/libs/sysplugins/
smarty_internal_templatebase.php(140): include('/tmp/d0...')
#3 .../Smarty-3.1rc1/libs/sysplugins/
smarty_internal_templatebase.php(306): Smarty_Internal_TemplateBase-
>fetch('test.tpl', NULL, NULL, NULL, true)
#4 .../index.php(8): Smarty_Internal_TemplateBase->display('test.tpl')
#5 {main}
thrown in .../Smarty-3.1rc1/libs/sysplugins/
smarty_internal_templatebase.php on line 634
Also, if I remove the include (leaving test.tpl with just "Hi"),
compile it in 3.0.7 and then run it with Smarty 3.1-DEV, I get "Hi"
repeated twice. Is this expected?
Thanks,
- mph