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.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/toggle_mobile.php b/mod/toggle_mobile.php
index 00991e44c..06dadca04 100644
--- a/mod/toggle_mobile.php
+++ b/mod/toggle_mobile.php
@@ -3,9 +3,9 @@
function toggle_mobile_init(&$a) {
if(isset($_GET['off']))
- $_SESSION['show-mobile'] = false;
+ $_SESSION['show_mobile'] = false;
else
- $_SESSION['show-mobile'] = true;
+ $_SESSION['show_mobile'] = true;
if(isset($_GET['address']))
$address = $_GET['address'];