summaryrefslogtreecommitdiff
path: root/lib/smarty3/sysplugins/smarty_internal_method_getdefaultmodifiers.php
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2018-10-18 02:40:38 +0200
committeremkael <emkael@tlen.pl>2018-10-18 02:40:38 +0200
commiteab8a101e7a3fcbb41e01a574985e06c5a3775de (patch)
tree60f201da5984b0c3638d10da02bba42b61aa3177 /lib/smarty3/sysplugins/smarty_internal_method_getdefaultmodifiers.php
parent7f38be342c1495aeca418286c15c25c18ac9e142 (diff)
Updating Smarty
Diffstat (limited to 'lib/smarty3/sysplugins/smarty_internal_method_getdefaultmodifiers.php')
-rw-r--r--lib/smarty3/sysplugins/smarty_internal_method_getdefaultmodifiers.php4
1 files changed, 2 insertions, 2 deletions
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
+}