From: Hypolite Petovan Date: Sat, 20 Jul 2019 16:14:20 +0000 (-0400) Subject: Fix reference non-existing "mobile-theme" field in user record X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2f9e710f5ccd1b9d50dfd30acc774e74ed21b9af;p=friendica.git Fix reference non-existing "mobile-theme" field in user record --- 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'));