mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-05 02:44:27 +02:00
- bugfix possible error message on unset() while compiling {block} tags https://github.com/smarty-php/smarty/issues/46
This commit is contained in:
@@ -1,5 +1,8 @@
|
|||||||
===== 3.1.25-dev===== (xx.xx.2015)
|
===== 3.1.25-dev===== (xx.xx.2015)
|
||||||
01.06.2105
|
04.06.2015
|
||||||
|
- bugfix possible error message on unset() while compiling {block} tags https://github.com/smarty-php/smarty/issues/46
|
||||||
|
|
||||||
|
01.06.2015
|
||||||
- bugfix <?xml ... ?> including template variables broken since 3.1.22 https://github.com/smarty-php/smarty/issues/47
|
- bugfix <?xml ... ?> including template variables broken since 3.1.22 https://github.com/smarty-php/smarty/issues/47
|
||||||
|
|
||||||
27.05.2015
|
27.05.2015
|
||||||
|
@@ -334,7 +334,9 @@ class Smarty_Internal_Compile_Blockclose extends Smarty_Internal_CompileBase
|
|||||||
$_output = $compiler->parser->current_buffer->to_smarty_php();
|
$_output = $compiler->parser->current_buffer->to_smarty_php();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
unset($compiler->template->block_data[$_name]['compiled']);
|
if (isset($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