diff options
author | thomascube <thomas@roundcube.net> | 2007-11-19 14:45:49 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2007-11-19 14:45:49 +0000 |
commit | 1fb2c8e64bb28f1b7ece71b5d3a92150a62a9ecb (patch) | |
tree | d36333d28f7cb9c09126cf17e3857f5b41be34d3 /program/include/rcube_imap.inc | |
parent | 96facbd3fc52f3d9086fa2d05f375297d9914b0f (diff) |
Cast to array because this could be empty; update requirements description
Diffstat (limited to 'program/include/rcube_imap.inc')
-rw-r--r-- | program/include/rcube_imap.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_imap.inc b/program/include/rcube_imap.inc index ea80ced10..5be4943e4 100644 --- a/program/include/rcube_imap.inc +++ b/program/include/rcube_imap.inc @@ -2494,7 +2494,7 @@ class rcube_imap if (!$mbox_name) $mbox_name = $this->mailbox; - $index = array_flip($this->uid_id_map[$mbox_name]); + $index = array_flip((array)$this->uid_id_map[$mbox_name]); if (isset($index[$id])) $uid = $index[$id]; else |