Update Smarty to 3.1.3

This commit is contained in:
Rob Lensen
2018-01-18 00:23:24 +01:00
parent 6a3f8f3e76
commit db684f6151
190 changed files with 7430 additions and 5215 deletions

View File

@@ -22,14 +22,14 @@ class Smarty_Internal_Method_GetDebugTemplate
* return name of debugging template
*
* @api Smarty::getDebugTemplate()
*
* @param \Smarty_Internal_TemplateBase|\Smarty_Internal_Template|\Smarty $obj
*
* @return string
*/
public function getDebugTemplate(Smarty_Internal_TemplateBase $obj)
{
$smarty = isset($obj->smarty) ? $obj->smarty : $obj;
$smarty = $obj->_getSmartyObj();
return $smarty->debug_tpl;
}
}