diff --git a/change_log.txt b/change_log.txt index 8fb16c7a..faccee8c 100644 --- a/change_log.txt +++ b/change_log.txt @@ -2,6 +2,7 @@ - bugfix on {debug} - reverted location of loadPlugin() to Smarty class - fixed comments in plugins +- fixed internal_config (removed unwanted code line) ===== Smarty 3.0.2 ===== diff --git a/libs/sysplugins/smarty_internal_config.php b/libs/sysplugins/smarty_internal_config.php index 3a540e99..06ae70ba 100644 --- a/libs/sysplugins/smarty_internal_config.php +++ b/libs/sysplugins/smarty_internal_config.php @@ -266,7 +266,6 @@ class Smarty_Internal_Config { // copy global config vars foreach ($_config_vars['vars'] as $variable => $value) { if ($this->smarty->config_overwrite || !isset($scope_ptr->config_vars[$variable])) { - $scope->config_vars[$variable] = $value; $scope_ptr->config_vars[$variable] = $value; } else { $scope_ptr->config_vars[$variable] = array_merge((array)$scope_ptr->config_vars[$variable], (array)$value);