- improve template scope handling

This commit is contained in:
uwetews
2015-10-29 22:17:35 +01:00
parent a0f583078d
commit 55f38125a4
17 changed files with 262 additions and 323 deletions
@@ -41,6 +41,9 @@ class Smarty_Internal_Method_AppendByRef
} else {
$data->tpl_vars[$tpl_var]->value[] = &$value;
}
if ($data->_objType == 2 && $data->scope) {
$data->ext->_updateScope->updateScope($data, $tpl_var);
}
}
return $data;
}