Skip to content

Commit a823f00

Browse files
committed
fix(backend): handle undefined array keys username and password
1 parent e5a8d31 commit a823f00

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

modules/imap/handler_modules.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,9 @@ public function process() {
559559
} else {
560560
$folder = hex2bin($parts[2]);
561561
}
562-
562+
563+
$details['password'] = "";
564+
$details['username'] = $details['user'];
563565
$mailbox = Hm_IMAP_List::get_mailbox_without_connection($details);
564566
$label = $mailbox->get_folder_name($folder);
565567
if(!$label) {

0 commit comments

Comments
 (0)