]> git.mxchange.org Git - friendica.git/commitdiff
wrong parameter for BaseURL get in smoothly theme
authorTobias Diekershoff <tobias.diekershoff@gmx.net>
Wed, 20 Jul 2022 04:58:26 +0000 (06:58 +0200)
committerTobias Diekershoff <tobias.diekershoff@gmx.net>
Wed, 20 Jul 2022 04:58:26 +0000 (06:58 +0200)
Fixes at least the smoothly aspect pf #11752 other themes brokeness could not be reproduced on my node.

view/theme/smoothly/theme.php

index 9cc5b4a2248104c05b5a2b74934d4c912e00203f..994fe8c8562831626344731a4f1fb30ff82c6eea 100644 (file)
@@ -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');