- bugfix broken PHP 5.2 compatibility

This commit is contained in:
uwetews
2015-12-19 20:10:45 +01:00
parent e32720ef4e
commit 224a1c4874
6 changed files with 7 additions and 5 deletions

View File

@@ -20,7 +20,7 @@ class Smarty_Internal_Runtime_TplFunction
*
* @throws \SmartyException
*/
public function callTemplateFunction(\Smarty_Internal_Template $tpl, $name, $params, $nocache)
public function callTemplateFunction(Smarty_Internal_Template $tpl, $name, $params, $nocache)
{
if (isset($tpl->tpl_function[$name])) {
if (!$tpl->caching || ($tpl->caching && $nocache)) {