]> git.mxchange.org Git - friendica.git/commitdiff
fix toggle mobile/desktop view
authorrabuzarus <>
Thu, 2 Jul 2015 00:55:03 +0000 (02:55 +0200)
committerrabuzarus <>
Thu, 2 Jul 2015 00:55:03 +0000 (02:55 +0200)
boot.php

index 57b8716f68fe6b656d8961abc32176fe64252d4a..f0f8e9d7a5c61b26c9dcdda2a8576b3a298533c8 100644 (file)
--- 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);