X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Ftoggle_mobile.php;h=2821e0a646bef02e3e6297d22a1d57d861c251b7;hb=41663c7592abe55a958632c3a48265e0a8544d2b;hp=2449de4aa217e3e85d5a0440b09c9fa47a0f630f;hpb=541d6ab8959fe3c069996e230def126c154da34d;p=friendica.git diff --git a/mod/toggle_mobile.php b/mod/toggle_mobile.php index 2449de4aa2..2821e0a646 100644 --- a/mod/toggle_mobile.php +++ b/mod/toggle_mobile.php @@ -14,8 +14,8 @@ function toggle_mobile_init(App $a) { if (isset($_GET['address'])) { $address = $_GET['address']; } else { - $address = System::baseUrl(); + $address = ''; } - goaway($address); + $a->redirect($address); }