]> git.mxchange.org Git - friendica.git/blobdiff - mod/fbrowser.php
Merge pull request #11761 from tobiasd/20220722-zh-cn
[friendica.git] / mod / fbrowser.php
index 81284d6b91ef27d654d9c078d2333ab295b41176..60b290850a579e175630a423b01cfa2fcb830369 100644 (file)
@@ -47,7 +47,7 @@ function fbrowser_content(App $a)
        }
 
        // Needed to match the correct template in a module that uses a different theme than the user/site/default
-       $theme = Strings::sanitizeFilePathItem($_GET['theme'] ?? null);
+       $theme = Strings::sanitizeFilePathItem($_GET['theme'] ?? '');
        if ($theme && is_file("view/theme/$theme/config.php")) {
                $a->setCurrentTheme($theme);
        }