pref/prefs: fix warning when in non-default profile

master
Andrew Dolgov 4 years ago
parent 72edab5f1c
commit 9e1459d5db

@ -660,7 +660,7 @@ class Pref_Prefs extends Handler_Protected {
continue;
}
if ($item = $prefs_available[$pref_name]) {
if (isset($prefs_available[$pref_name]) &&$item = $prefs_available[$pref_name]) {
print "<fieldset class='prefs'>";

Loading…
Cancel
Save