From 00c11c1a0cb833e27d9719a5ac29851f490e1c1a Mon Sep 17 00:00:00 2001 From: nathangray Date: Thu, 10 Jan 2019 15:54:04 -0700 Subject: [PATCH] Preferences - Fix sections missing under some circumstances --- preferences/inc/class.preferences_settings.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/preferences/inc/class.preferences_settings.inc.php b/preferences/inc/class.preferences_settings.inc.php index 2d44bc9ac9..c2222f0cf9 100644 --- a/preferences/inc/class.preferences_settings.inc.php +++ b/preferences/inc/class.preferences_settings.inc.php @@ -381,7 +381,7 @@ class preferences_settings foreach($this->settings as $setting) { if (!is_array($setting)) continue; - if ($type != 'forced' && (string)$GLOBALS['egw']->preferences->forced[$appname][$setting['name']] !== '') + if ($type != 'forced' && $setting['name'] && (string)$GLOBALS['egw']->preferences->forced[$appname][$setting['name']] !== '') { continue; // forced preferences are not displayed, unless we edit them }