From eab8a101e7a3fcbb41e01a574985e06c5a3775de Mon Sep 17 00:00:00 2001 From: emkael Date: Thu, 18 Oct 2018 02:40:38 +0200 Subject: Updating Smarty --- lib/smarty3/sysplugins/smarty_internal_method_getdefaultmodifiers.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/smarty3/sysplugins/smarty_internal_method_getdefaultmodifiers.php') diff --git a/lib/smarty3/sysplugins/smarty_internal_method_getdefaultmodifiers.php b/lib/smarty3/sysplugins/smarty_internal_method_getdefaultmodifiers.php index 32e0cc4..57da85c 100644 --- a/lib/smarty3/sysplugins/smarty_internal_method_getdefaultmodifiers.php +++ b/lib/smarty3/sysplugins/smarty_internal_method_getdefaultmodifiers.php @@ -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; } -} \ No newline at end of file +} -- cgit v1.2.3