From f4e72dd7b191c0cf200d66f08fe1f64eb7ef0f45 Mon Sep 17 00:00:00 2001 From: Clemens Schwaighofer Date: Wed, 19 Jan 2022 16:38:58 +0900 Subject: [PATCH] Fix for getvar in smarty 4.0 --- www/lib/CoreLibs/Template/SmartyExtend4.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/lib/CoreLibs/Template/SmartyExtend4.php b/www/lib/CoreLibs/Template/SmartyExtend4.php index ca587b75..2b4136de 100644 --- a/www/lib/CoreLibs/Template/SmartyExtend4.php +++ b/www/lib/CoreLibs/Template/SmartyExtend4.php @@ -172,7 +172,7 @@ class SmartyExtend4 extends Smarty // iinit lang $this->l10n = new \CoreLibs\Language\L10n($this->lang); /** @phpstan-ignore-next-line */ - $this->registerPlugin('modifier', 'getvar', [&$this, 'get_template_vars']); + $this->registerPlugin('modifier', 'getvar', [&$this, 'getTemplateVars']); $this->page_name = pathinfo($_SERVER["PHP_SELF"])['basename'];