aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/page_tail.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/page_tail.php b/include/page_tail.php
index da082d4bb..f47dc2d91 100644
--- a/include/page_tail.php
+++ b/include/page_tail.php
@@ -70,7 +70,7 @@ if ( !empty($conf['mobile_theme']) && (get_device() != 'desktop' || mobile_theme
{
$template->assign('TOGGLE_MOBILE_THEME_URL',
add_url_params(
- duplicate_index_url(),
+ htmlspecialchars($_SERVER['REQUEST_URI']),
array('mobile' => mobile_theme() ? 'false' : 'true')
)
);