- bugfix merge_compiled_includes flag was not restored correctly in {block} tag

This commit is contained in:
uwe.tews@googlemail.com
2010-09-24 12:13:19 +00:00
parent e8ab747a60
commit 802d40f3d3
2 changed files with 4 additions and 1 deletions

View File

@@ -1,3 +1,6 @@
24/09/2010
- bugfix merge_compiled_includes flag was not restored correctly in {block} tag
22/09/2010
- bugfix on default modifier

View File

@@ -108,7 +108,7 @@ class Smarty_Internal_Compile_Blockclose extends Smarty_Internal_CompileBase {
}
$compiler->parser->current_buffer = $saved_data[1];
$compiler->nocache = $saved_data[2];
$compiler->smarty->merge_compiled_includes = $saved_data[2];
$compiler->smarty->merge_compiled_includes = $saved_data[3];
// $_output content has already nocache code processed
$compiler->suppressNocacheProcessing = true;
// reset flag