From: rabuzarus <> Date: Thu, 2 Jul 2015 00:55:03 +0000 (+0200) Subject: fix toggle mobile/desktop view X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a0b522c3be46cdcc69bd5e553091a8f7a150c5a7;p=friendica.git fix toggle mobile/desktop view --- 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);