From d6123976f5c92a17a81df5f7e3e92debc15e964e Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Wed, 20 Jul 2022 06:58:26 +0200 Subject: [PATCH] wrong parameter for BaseURL get in smoothly theme Fixes at least the smoothly aspect pf #11752 other themes brokeness could not be reproduced on my node. --- view/theme/smoothly/theme.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/view/theme/smoothly/theme.php b/view/theme/smoothly/theme.php index 9cc5b4a22..994fe8c85 100644 --- a/view/theme/smoothly/theme.php +++ b/view/theme/smoothly/theme.php @@ -22,7 +22,7 @@ function smoothly_init(App $a) { Renderer::setActiveTemplateEngine('smarty3'); $cssFile = null; - $ssl_state = null; + $ssl_state = false; $baseurl = DI::baseUrl()->get($ssl_state); DI::page()['htmlhead'] .= <<< EOT @@ -89,7 +89,7 @@ if (! function_exists('_js_in_foot')) { function _js_in_foot() { /** @purpose insert stuff in bottom of page */ - $ssl_state = null; + $ssl_state = false; $baseurl = DI::baseUrl()->get($ssl_state); $bottom['$baseurl'] = $baseurl; $tpl = Renderer::getMarkupTemplate('bottom.tpl');