From: Michael M Slusarz Date: Mon, 28 Jun 2010 20:45:57 +0000 (-0600) Subject: Bug #9102: Don't want to reindex array when adding INBOX X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=2bb369ac9c5e8261ff06eff0fa01eb7541a7d21b;p=horde.git Bug #9102: Don't want to reindex array when adding INBOX --- 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) {}