diff --git a/change_log.txt b/change_log.txt index 83b0374a..0e971141 100644 --- a/change_log.txt +++ b/change_log.txt @@ -2,6 +2,7 @@ 13.12.2015 - bugfix {foreach} and {section} with uppercase characters in name attribute did not work (forum topic 25819) - bugfix $smarty->debugging_ctrl = 'URL' did not work (forum topic 25811) + - bugfix Debug Console could display incorrect data when using subtemplates 09.12.2015 - bugix Smarty did fail under PHP 7.0.0 with use_include_path = true; diff --git a/libs/Smarty.class.php b/libs/Smarty.class.php index cb297ccb..eeaff779 100644 --- a/libs/Smarty.class.php +++ b/libs/Smarty.class.php @@ -118,7 +118,7 @@ class Smarty extends Smarty_Internal_TemplateBase /** * smarty version */ - const SMARTY_VERSION = '3.1.28-dev/81'; + const SMARTY_VERSION = '3.1.28-dev/82'; /** * define variable scopes diff --git a/libs/sysplugins/smarty_internal_template.php b/libs/sysplugins/smarty_internal_template.php index 64eeaa10..7c16a53d 100644 --- a/libs/sysplugins/smarty_internal_template.php +++ b/libs/sysplugins/smarty_internal_template.php @@ -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); } }