mirror of
https://github.com/smarty-php/smarty.git
synced 2026-04-29 10:13:25 +02:00
code cleanup and optimizations 3.1.32-dev-34
This commit is contained in:
@@ -83,7 +83,7 @@ class Smarty_Internal_Method_ConfigLoad
|
||||
$this->_assignConfigVars($tpl->parent->config_vars, $tpl, $new_config_vars);
|
||||
$tagScope = $tpl->source->scope;
|
||||
if ($tagScope >= 0) {
|
||||
if ($tagScope == Smarty::SCOPE_LOCAL) {
|
||||
if ($tagScope === Smarty::SCOPE_LOCAL) {
|
||||
$this->_updateVarStack($tpl, $new_config_vars);
|
||||
$tagScope = 0;
|
||||
if (!$tpl->scope) {
|
||||
|
||||
Reference in New Issue
Block a user