fix for mobile-view on system pages

This commit is contained in:
rabuzarus 2015-07-02 02:15:36 +02:00
parent 92a7a62608
commit 7c3af0d3ed

View File

@ -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 === '---') {