X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=mod%2Ffbrowser.php;h=60b290850a579e175630a423b01cfa2fcb830369;hb=805d6440e68233d75476c0d02d779987816a8439;hp=81284d6b91ef27d654d9c078d2333ab295b41176;hpb=23e5ae15e3a1b73cd89f65687db5acca122c5124;p=friendica.git diff --git a/mod/fbrowser.php b/mod/fbrowser.php index 81284d6b91..60b290850a 100644 --- a/mod/fbrowser.php +++ b/mod/fbrowser.php @@ -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); }