diff --git a/libs/sysplugins/smarty_internal_compile_block.php b/libs/sysplugins/smarty_internal_compile_block.php index 51e3e256..41438acb 100644 --- a/libs/sysplugins/smarty_internal_compile_block.php +++ b/libs/sysplugins/smarty_internal_compile_block.php @@ -164,6 +164,7 @@ class Smarty_Internal_Compile_Block extends Smarty_Internal_CompileBase } $_tpl->tpl_vars = $compiler->template->tpl_vars; $_tpl->variable_filters = $compiler->template->variable_filters; + $_tpl->compiled = new Smarty_Template_Compiled(); $_tpl->compiled->nocache_hash = $compiler->template->compiled->nocache_hash; $_tpl->allow_relative_path = true; $_tpl->loadCompiler();