diff --git a/boot.php b/boot.php index fbef7fa34..57b8716f6 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 === '---') {