From a823f00f2c29457839541956a5f28e224ba9c607 Mon Sep 17 00:00:00 2001 From: Baraka24 Date: Fri, 28 Nov 2025 11:12:32 +0200 Subject: [PATCH] fix(backend): handle undefined array keys username and password --- modules/imap/handler_modules.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/imap/handler_modules.php b/modules/imap/handler_modules.php index a1a2e7349..ecc26dbf5 100644 --- a/modules/imap/handler_modules.php +++ b/modules/imap/handler_modules.php @@ -559,7 +559,9 @@ public function process() { } else { $folder = hex2bin($parts[2]); } - + + $details['password'] = ""; + $details['username'] = $details['user']; $mailbox = Hm_IMAP_List::get_mailbox_without_connection($details); $label = $mailbox->get_folder_name($folder); if(!$label) {