From 6cda319ed0f2d416c59a6b9e9b98b54a90bd747d Mon Sep 17 00:00:00 2001 From: Clemens Schwaighofer Date: Mon, 13 Mar 2023 10:51:09 +0900 Subject: [PATCH] Bug fix for SmartyExtend set var call --- src/Template/SmartyExtend.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Template/SmartyExtend.php b/src/Template/SmartyExtend.php index 093bd83..8f04b6d 100644 --- a/src/Template/SmartyExtend.php +++ b/src/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