]> git.mxchange.org Git - friendica.git/commitdiff
fix for mobile-view on system pages
authorrabuzarus <>
Thu, 2 Jul 2015 00:15:36 +0000 (02:15 +0200)
committerrabuzarus <>
Thu, 2 Jul 2015 00:15:36 +0000 (02:15 +0200)
boot.php

index fbef7fa34f45adc00456915b37203b7dcaef0e54..57b8716f68fe6b656d8961abc32176fe64252d4a 100644 (file)
--- a/boot.php
+++ b/boot.php
@@ -1480,7 +1480,7 @@ if(! function_exists('current_theme')) {
                                $theme_name = '';
                        }
                        else {
-                               $system_theme = ((isset($a->config['system']['mobile-theme'])) ? $a->config['system']['mobile-theme'] : '');
+                               $system_theme = ((isset($a->config['system']['mobile-theme'])) ? $a->config['system']['mobile-theme'] : $standard_system_theme);
                                $theme_name = ((isset($_SESSION) && x($_SESSION,'mobile-theme')) ? $_SESSION['mobile-theme'] : $system_theme);
 
                                if($theme_name === '---') {