Merge pull request #7409 from MrPetovan/bug/notices
Fix reference non-existing "mobile-theme" field in user record
This commit is contained in:
commit
970baccfdc
|
@ -916,7 +916,7 @@ function settings_content(App $a)
|
||||||
}
|
}
|
||||||
|
|
||||||
$theme_selected = $a->user['theme'] ?: $default_theme;
|
$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'));
|
$nowarn_insecure = intval(PConfig::get(local_user(), 'system', 'nowarn_insecure'));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue