From a0b522c3be46cdcc69bd5e553091a8f7a150c5a7 Mon Sep 17 00:00:00 2001 From: rabuzarus <> Date: Thu, 2 Jul 2015 02:55:03 +0200 Subject: [PATCH] fix toggle mobile/desktop view --- boot.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/boot.php b/boot.php index 57b8716f68..f0f8e9d7a5 100644 --- a/boot.php +++ b/boot.php @@ -1476,8 +1476,8 @@ if(! function_exists('current_theme')) { if($is_mobile) { if(isset($_SESSION['show-mobile']) && !$_SESSION['show-mobile']) { - $system_theme = ''; - $theme_name = ''; + $system_theme = $standard_system_theme; + $theme_name = $standard_theme_name; } else { $system_theme = ((isset($a->config['system']['mobile-theme'])) ? $a->config['system']['mobile-theme'] : $standard_system_theme);