mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-05 02:44:27 +02:00
- bugfix multiple {block}s with same name in parent did not work (forum topic 24631)
This commit is contained in:
@@ -3,6 +3,7 @@
|
|||||||
- bugfix variable resource name at custom resource plugin did not work within {block} tags (Issue 163)
|
- 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 notice "Trying to get property of non-object" removed (Issue 163)
|
||||||
- bugfix correction of modifier capitalize fix from 3.10.2013 (issue 159)
|
- 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
|
20.10.2013
|
||||||
- bugfix a variable file name at {extends} tag did fail (forum topic 24618)
|
- bugfix a variable file name at {extends} tag did fail (forum topic 24618)
|
||||||
|
@@ -330,8 +330,8 @@ class Smarty_Internal_Compile_Blockclose extends Smarty_Internal_CompileBase
|
|||||||
} else {
|
} else {
|
||||||
$_output = $compiler->parser->current_buffer->to_smarty_php();
|
$_output = $compiler->parser->current_buffer->to_smarty_php();
|
||||||
}
|
}
|
||||||
unset($compiler->template->block_data[$_name]['compiled']);
|
|
||||||
}
|
}
|
||||||
|
unset($compiler->template->block_data[$_name]['compiled']);
|
||||||
// reset flags
|
// reset flags
|
||||||
$compiler->parser->current_buffer = $saved_data[2];
|
$compiler->parser->current_buffer = $saved_data[2];
|
||||||
if ($compiler->nocache) {
|
if ($compiler->nocache) {
|
||||||
|
Reference in New Issue
Block a user