mirror of
https://github.com/smarty-php/smarty.git
synced 2025-11-01 21:01:37 +01:00
- code fixes
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user