diff --git a/components/ILIAS/User/classes/class.ilObjUserFolderGUI.php b/components/ILIAS/User/classes/class.ilObjUserFolderGUI.php index dd971adee18f..12b1254687da 100755 --- a/components/ILIAS/User/classes/class.ilObjUserFolderGUI.php +++ b/components/ILIAS/User/classes/class.ilObjUserFolderGUI.php @@ -2434,23 +2434,23 @@ public function saveGlobalUserSettingsObject(string $action = ''): void $this->ilias->setSetting( 'mail_incoming_mail', - $selected['default_mail_incoming_mail'] + $selected['default_mail_incoming_mail'] ?? '0' ); $this->ilias->setSetting( 'chat_osc_accept_msg', - $selected['default_chat_osc_accept_msg'] + $selected['default_chat_osc_accept_msg'] ?? 'n' ); $this->ilias->setSetting( 'chat_broadcast_typing', - $selected['default_chat_broadcast_typing'] + $selected['default_chat_broadcast_typing'] ?? 'n' ); $this->ilias->setSetting( 'bs_allow_to_contact_me', - $selected['default_bs_allow_to_contact_me'] + $selected['default_bs_allow_to_contact_me'] ?? 'n' ); $this->ilias->setSetting( 'hide_own_online_status', - $selected['default_hide_own_online_status'] + $selected['default_hide_own_online_status'] ?? 'n' ); if ($this->usrFieldChangeListenersAccepted && count($changed_fields) > 0) {