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:
behrooz shabani (everplays) 2014-03-27 12:03:17 +04:30
parent a8f7b4a7a7
commit 81f3efbb84

View File

@ -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);
}
/**