mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-02 17:34:26 +02:00
Fix bug in calling BC function handlers.
This commit is contained in:
@@ -16,7 +16,7 @@ class BCPluginWrapper extends Base {
|
||||
|
||||
public function handle($params, Template $template) {
|
||||
$func = $this->callback;
|
||||
return $func($params, $template->smarty);
|
||||
return $func($params, $template);
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user