mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-05 10:54:27 +02:00
- fixed internal_config (removed unwanted code line)
This commit is contained in:
@@ -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 =====
|
||||
|
||||
|
@@ -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);
|
||||
|
Reference in New Issue
Block a user