- bugfix Debug Console could display incorrect data when using subtemplates

This commit is contained in:
uwetews
2015-12-13 14:15:54 +01:00
parent 7e521a92d9
commit e8078f55ae
3 changed files with 3 additions and 2 deletions

View File

@@ -184,7 +184,7 @@ class Smarty_Internal_Template extends Smarty_Internal_TemplateBase
} else {
if ($this->smarty->debugging) {
$this->smarty->_debug->end_template($this);
if ($this->smarty->debugging == 2 and !$display) {
if ($this->smarty->debugging === 2 && $display === false) {
$this->smarty->_debug->display_debug($this, true);
}
}