aboutsummaryrefslogtreecommitdiffstats
path: root/include/page_tail.php
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 14c6391fb..a24176da5 100644
--- a/include/page_tail.php
+++ b/include/page_tail.php
@@ -66,7 +66,7 @@ if ($conf['show_gt'])
$template->assign('debug', $debug_vars );
//------------------------------------------------------------- mobile version
-if (get_device() != 'desktop')
+if ( !empty($conf['mobile_theme']) && get_device() != 'desktop')
{
$template->assign('TOGGLE_MOBILE_THEME_URL',
add_url_params(