From: rabuzarus <> Date: Thu, 2 Jul 2015 00:15:36 +0000 (+0200) Subject: fix for mobile-view on system pages X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7c3af0d3ed9f63fb9fc13143b54c346ca67deff8;p=friendica.git fix for mobile-view on system pages --- diff --git a/boot.php b/boot.php index fbef7fa34f..57b8716f68 100644 --- 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 === '---') {