diff options
Diffstat (limited to 'lib/smarty3/sysplugins/smarty_internal_method_getdebugtemplate.php')
-rw-r--r-- | lib/smarty3/sysplugins/smarty_internal_method_getdebugtemplate.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/smarty3/sysplugins/smarty_internal_method_getdebugtemplate.php b/lib/smarty3/sysplugins/smarty_internal_method_getdebugtemplate.php index 40696c6..77d908c 100644 --- a/lib/smarty3/sysplugins/smarty_internal_method_getdebugtemplate.php +++ b/lib/smarty3/sysplugins/smarty_internal_method_getdebugtemplate.php @@ -29,7 +29,7 @@ class Smarty_Internal_Method_GetDebugTemplate */ public function getDebugTemplate(Smarty_Internal_TemplateBase $obj) { - $smarty = isset($obj->smarty) ? $obj->smarty : $obj; + $smarty = $obj->_getSmartyObj(); return $smarty->debug_tpl; } -}
\ No newline at end of file +} |