projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2f9d03
)
Bug #9102: Don't want to reindex array when adding INBOX
author
Michael M Slusarz
<slusarz@curecanti.org>
Mon, 28 Jun 2010 20:45:57 +0000
(14:45 -0600)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Mon, 28 Jun 2010 20:45:57 +0000
(14:45 -0600)
imp/lib/Imap/Tree.php
patch
|
blob
|
history
diff --git
a/imp/lib/Imap/Tree.php
b/imp/lib/Imap/Tree.php
index
fd58622
..
c2bcc12
100644
(file)
--- a/
imp/lib/Imap/Tree.php
+++ b/
imp/lib/Imap/Tree.php
@@
-312,7
+312,7
@@
class IMP_Imap_Tree
/* INBOX must always appear. */
if (empty($result['INBOX'])) {
- $result =
array_merge($imp_imap->listMailboxes('INBOX', Horde_Imap_Client::MBOX_ALL, array('attributes' => true, 'delimiter' => true)), $result)
;
+ $result =
$imp_imap->listMailboxes('INBOX', Horde_Imap_Client::MBOX_ALL, array('attributes' => true, 'delimiter' => true)) + $result
;
}
} catch (Horde_Imap_Client_Exception $e) {}