mirror of
https://github.com/smarty-php/smarty.git
synced 2026-04-19 16:09:00 +02:00
- bugfix broken PHP 5.2 compatibility
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user