Skip to content

Commit d8db915

Browse files
committed
fix(backend): undefined variable id in hm-imap
1 parent 577cf3a commit d8db915

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/imap/hm-imap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public static function get_connected_mailbox($id, $hm_cache = null) {
7575

7676
public static function get_mailbox_without_connection($config) {
7777
$config['type'] = array_key_exists('type', $config) ? $config['type'] : 'imap';
78-
return new Hm_Mailbox($id, self::$user_config, self::$session, $config);
78+
return new Hm_Mailbox($config['id'], self::$user_config, self::$session, $config);
7979
}
8080
}
8181

0 commit comments

Comments
 (0)