mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-05 10:54:27 +02:00
- bugfix template inheritance did set $merge_compiled_includes globally true
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
===== trunk =====
|
||||
12.03.2012
|
||||
- bugfix a double quoted string of "$foo" did not compile into PHP "$foo" (Forum Topic 21175)
|
||||
- bugfix template inheritance did set $merge_compiled_includes globally true
|
||||
|
||||
03.03.2012
|
||||
- optimization of compiling speed when same modifier was used several times
|
||||
|
@@ -260,7 +260,7 @@ class Smarty_Internal_Compile_Blockclose extends Smarty_Internal_CompileBase {
|
||||
// reset flags
|
||||
$compiler->parser->current_buffer = $saved_data[1];
|
||||
$compiler->nocache = $saved_data[2];
|
||||
//$compiler->smarty->merge_compiled_includes = $saved_data[3];
|
||||
$compiler->smarty->merge_compiled_includes = $saved_data[3];
|
||||
// reset flag for {block} tag
|
||||
$compiler->inheritance = false;
|
||||
// $_output content has already nocache code processed
|
||||
|
Reference in New Issue
Block a user