From: Michael J. Rubinsky Date: Sat, 31 Jul 2010 15:23:57 +0000 (-0400) Subject: $results still needs to be defined if we catch an exception here. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=8f06d266a68ea4fff219010f9da587fabffbcbb4;p=horde.git $results still needs to be defined if we catch an exception here. --- diff --git a/imp/lib/Imap/Tree.php b/imp/lib/Imap/Tree.php index e9dfe7812..812ee50ba 100644 --- a/imp/lib/Imap/Tree.php +++ b/imp/lib/Imap/Tree.php @@ -315,7 +315,9 @@ class IMP_Imap_Tree if (empty($result['INBOX'])) { $result = $imp_imap->listMailboxes('INBOX', Horde_Imap_Client::MBOX_ALL, array('attributes' => true, 'delimiter' => true)) + $result; } - } catch (Horde_Imap_Client_Exception $e) {} + } catch (Horde_Imap_Client_Exception $e) { + $result = array(); + } if ($showunsub) { $this->_fulllist = $result;