From 2f9e710f5ccd1b9d50dfd30acc774e74ed21b9af Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Sat, 20 Jul 2019 12:14:20 -0400 Subject: [PATCH] Fix reference non-existing "mobile-theme" field in user record --- mod/settings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/settings.php b/mod/settings.php index ba703db156..702a931dfe 100644 --- a/mod/settings.php +++ b/mod/settings.php @@ -916,7 +916,7 @@ function settings_content(App $a) } $theme_selected = $a->user['theme'] ?: $default_theme; - $mobile_theme_selected = $a->user['mobile-theme'] ?: $default_mobile_theme; + $mobile_theme_selected = Session::get('mobile-theme', $default_mobile_theme); $nowarn_insecure = intval(PConfig::get(local_user(), 'system', 'nowarn_insecure')); -- 2.39.5