mirror of
https://github.com/Mibew/handlebars.php.git
synced 2025-03-23 08:51:23 +03:00
helpers with style of array(Object, methodName)
Previously we had them working. So for the sake's of backward compatibility, they should be supported.
This commit is contained in:
parent
a8f7b4a7a7
commit
81f3efbb84
@ -129,7 +129,7 @@ class Helpers
|
||||
);
|
||||
}
|
||||
|
||||
return $this->helpers[$name]($template, $context, $args, $source);
|
||||
return call_user_func($this->helpers[$name], $template, $context, $args, $source);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user