- bugfix multiple {block}s with same name in parent did not work (forum topic 24631)

This commit is contained in:
Uwe.Tews@googlemail.com
2013-10-29 00:40:14 +00:00
parent 5dc4b61771
commit c8996a4085
2 changed files with 2 additions and 1 deletions

View File

@@ -3,6 +3,7 @@
- bugfix variable resource name at custom resource plugin did not work within {block} tags (Issue 163)
- bugfix notice "Trying to get property of non-object" removed (Issue 163)
- bugfix correction of modifier capitalize fix from 3.10.2013 (issue 159)
- bugfix multiple {block}s with same name in parent did not work (forum topic 24631)
20.10.2013
- bugfix a variable file name at {extends} tag did fail (forum topic 24618)

View File

@@ -330,8 +330,8 @@ class Smarty_Internal_Compile_Blockclose extends Smarty_Internal_CompileBase
} else {
$_output = $compiler->parser->current_buffer->to_smarty_php();
}
unset($compiler->template->block_data[$_name]['compiled']);
}
unset($compiler->template->block_data[$_name]['compiled']);
// reset flags
$compiler->parser->current_buffer = $saved_data[2];
if ($compiler->nocache) {