]> git.mxchange.org Git - friendica.git/blobdiff - mod/toggle_mobile.php
Unescape $invite_desc in follow/register templates
[friendica.git] / mod / toggle_mobile.php
index 2449de4aa217e3e85d5a0440b09c9fa47a0f630f..388c40891a80b2d64419e96daf6d775f1bd82361 100644 (file)
@@ -14,8 +14,8 @@ function toggle_mobile_init(App $a) {
        if (isset($_GET['address'])) {
                $address = $_GET['address'];
        } else {
-               $address = System::baseUrl();
+               $address = '';
        }
 
-       goaway($address);
+       System::externalRedirect($address);
 }