From d56ee6848288f5232e35d164127bb39c1a6d522c Mon Sep 17 00:00:00 2001 From: Clemens Schwaighofer Date: Mon, 13 Mar 2023 10:36:05 +0900 Subject: [PATCH] Fix missing default null in setSmartyVarsFrontend --- www/lib/CoreLibs/Template/SmartyExtend.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/www/lib/CoreLibs/Template/SmartyExtend.php b/www/lib/CoreLibs/Template/SmartyExtend.php index 093bd830..8f04b6dc 100644 --- a/www/lib/CoreLibs/Template/SmartyExtend.php +++ b/www/lib/CoreLibs/Template/SmartyExtend.php @@ -453,8 +453,8 @@ class SmartyExtend extends \Smarty * this is for frontend type and will not set any only admin needed variables * * @param array $options list with the following value: - * compile_dir :BASE . TEMPLATES_C - * cache_dir :BASE . CACHE + * compile_dir :BASE . TEMPLATES_C + * cache_dir :BASE . CACHE * js :JS * css :CSS * font :FONT @@ -468,7 +468,7 @@ class SmartyExtend extends \Smarty */ public function setSmartyVarsFrontend( array $options, - ?\CoreLibs\Admin\Backend $cms + ?\CoreLibs\Admin\Backend $cms = null ): void { $this->setSmartyVars( false, @@ -493,8 +493,8 @@ class SmartyExtend extends \Smarty * wrapper call for setSmartyVars * this is only for admin interface and will set additional variables * @param array $options list with the following value: - * compile_dir :BASE . TEMPLATES_C - * cache_dir :BASE . CACHE + * compile_dir :BASE . TEMPLATES_C + * cache_dir :BASE . CACHE * js :JS * css :CSS * font :FONT