mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-03 18:04: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) {
|
public function handle($params, Template $template) {
|
||||||
$func = $this->callback;
|
$func = $this->callback;
|
||||||
return $func($params, $template->smarty);
|
return $func($params, $template);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
Reference in New Issue
Block a user