mirror of
https://github.com/smarty-php/smarty.git
synced 2026-05-05 20:24:18 +02:00
- improvement move often used code snippets into methods
This commit is contained in:
@@ -29,7 +29,7 @@ class Smarty_Internal_Method_GetDefaultModifiers
|
||||
*/
|
||||
public function getDefaultModifiers(Smarty_Internal_TemplateBase $obj)
|
||||
{
|
||||
$smarty = isset($obj->smarty) ? $obj->smarty : $obj;
|
||||
$smarty = $obj->_getSmartyObj();
|
||||
return $smarty->default_modifiers;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user