From af6f77a9e6db1b1ed7d06794d6f230d43de74701 Mon Sep 17 00:00:00 2001 From: uwetews Date: Mon, 10 Aug 2015 22:45:56 +0200 Subject: [PATCH] create raw compiled object to avoid checking for compiled file --- libs/sysplugins/smarty_internal_compile_block.php | 1 + 1 file changed, 1 insertion(+) 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();