- code fixes

This commit is contained in:
uwetews
2015-12-27 08:11:31 +01:00
parent 94cc120439
commit c2f05e8c3c
7 changed files with 8 additions and 8 deletions

View File

@@ -33,7 +33,7 @@ class Smarty_Internal_Method_AddDefaultModifiers
{
$smarty = isset($obj->smarty) ? $obj->smarty : $obj;
if (is_array($modifiers)) {
$this->default_modifiers = array_merge($smarty->default_modifiers, $modifiers);
$smarty->default_modifiers = array_merge($smarty->default_modifiers, $modifiers);
} else {
$smarty->default_modifiers[] = $modifiers;
}