]> git.mxchange.org Git - friendica.git/blobdiff - mod/fbrowser.php
SV update to the strings THX viktorbagare
[friendica.git] / mod / fbrowser.php
index 1646b19dff606206036ae3b561f333347e226150..60b290850a579e175630a423b01cfa2fcb830369 100644 (file)
@@ -39,15 +39,15 @@ use Friendica\Util\Strings;
 function fbrowser_content(App $a)
 {
        if (!local_user()) {
-               exit();
+               System::exit();
        }
 
        if (DI::args()->getArgc() == 1) {
-               exit();
+               System::exit();
        }
 
        // 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);
        }