Compare commits

..

2 Commits

Author SHA1 Message Date
Clemens Schwaighofer
6cda319ed0 Bug fix for SmartyExtend set var call 2023-03-13 10:51:09 +09:00
Clemens Schwaighofer
583edbfe0a Published v8.0.5 2023-03-13 09:29:30 +09:00
2 changed files with 6 additions and 6 deletions

View File

@@ -1 +1 @@
8.0.4
8.0.5

View File

@@ -453,8 +453,8 @@ class SmartyExtend extends \Smarty
* this is for frontend type and will not set any only admin needed variables
*
* @param array<string,string> $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<string,string> $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