pref/prefs: fix warning when in non-default profile
This commit is contained in:
parent
72edab5f1c
commit
9e1459d5db
|
@ -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'>";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue