aboutsummaryrefslogtreecommitdiffstats
path: root/mod/toggle_mobile.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/toggle_mobile.php')
-rw-r--r--mod/toggle_mobile.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/toggle_mobile.php b/mod/toggle_mobile.php
index 06dadca04..918c4aad6 100644
--- a/mod/toggle_mobile.php
+++ b/mod/toggle_mobile.php
@@ -10,7 +10,7 @@ function toggle_mobile_init(&$a) {
if(isset($_GET['address']))
$address = $_GET['address'];
else
- $address = $a->get_baseurl();
+ $address = z_root();
goaway($address);
}