1
0
Fork 0

fix toggle mobile/desktop view

This commit is contained in:
rabuzarus 2015-07-02 02:55:03 +02:00
parent 7c3af0d3ed
commit a0b522c3be

View file

@ -1476,8 +1476,8 @@ if(! function_exists('current_theme')) {
if($is_mobile) { if($is_mobile) {
if(isset($_SESSION['show-mobile']) && !$_SESSION['show-mobile']) { if(isset($_SESSION['show-mobile']) && !$_SESSION['show-mobile']) {
$system_theme = ''; $system_theme = $standard_system_theme;
$theme_name = ''; $theme_name = $standard_theme_name;
} }
else { else {
$system_theme = ((isset($a->config['system']['mobile-theme'])) ? $a->config['system']['mobile-theme'] : $standard_system_theme); $system_theme = ((isset($a->config['system']['mobile-theme'])) ? $a->config['system']['mobile-theme'] : $standard_system_theme);