1
1
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(isset($_SESSION['show-mobile']) && !$_SESSION['show-mobile']) {
$system_theme = '';
$theme_name = '';
$system_theme = $standard_system_theme;
$theme_name = $standard_theme_name;
}
else {
$system_theme = ((isset($a->config['system']['mobile-theme'])) ? $a->config['system']['mobile-theme'] : $standard_system_theme);