From 7c3af0d3ed9f63fb9fc13143b54c346ca67deff8 Mon Sep 17 00:00:00 2001 From: rabuzarus <> Date: Thu, 2 Jul 2015 02:15:36 +0200 Subject: [PATCH] fix for mobile-view on system pages --- boot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 === '---') {