From 2bb369ac9c5e8261ff06eff0fa01eb7541a7d21b Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Mon, 28 Jun 2010 14:45:57 -0600 Subject: [PATCH] Bug #9102: Don't want to reindex array when adding INBOX --- imp/lib/Imap/Tree.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imp/lib/Imap/Tree.php b/imp/lib/Imap/Tree.php index fd5862219..c2bcc128b 100644 --- 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) {} -- 2.11.0