mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-05 19:04:27 +02:00
- bugfix internal rendered_content must be cleared after subtemplate was included
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
===== SVN trunk =====
|
||||
03/03/2011
|
||||
- bugfix "smarty" template variable was not recreated when cached templated had expired
|
||||
- bugfix internal rendered_content must be cleared after subtemplate was included
|
||||
|
||||
01/03/2011
|
||||
- bugfix replace modifier did not work in 3.0.7 on systems without multibyte support
|
||||
|
@@ -172,7 +172,7 @@ class Smarty_Internal_Compile_Include extends Smarty_Internal_CompileBase {
|
||||
$_output .= "<?php /* End of included template \"" . $tpl->getTemplateFilepath() . "\" */ ?>\n";
|
||||
$_output .= "<?php \$_smarty_tpl = array_pop(\$_tpl_stack);?>";
|
||||
} else {
|
||||
$_output .= " echo \$_template->getRenderedTemplate();?>";
|
||||
$_output .= " echo \$_template->getRenderedTemplate(); \$_template->rendered_content = null;?>";
|
||||
if ($_parent_scope != Smarty::SCOPE_LOCAL) {
|
||||
$_output .= "<?php \$_template->updateParentVariables($_parent_scope);?>";
|
||||
}
|
||||
|
Reference in New Issue
Block a user