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

This commit is contained in:
Andrew Dolgov 2021-02-10 21:40:43 +03:00
parent 72edab5f1c
commit 9e1459d5db
1 changed files with 1 additions and 1 deletions

View File

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