Skip to content

Commit c06602d

Browse files
authored
Merge pull request #1547 from Shadow243/fixed-undefined-error-id
fix(backend): undefined variable id in hm-imap
2 parents 577cf3a + d8db915 commit c06602d

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)