projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
517d58f
)
$results still needs to be defined if we catch an exception here.
author
Michael J. Rubinsky
<mrubinsk@horde.org>
Sat, 31 Jul 2010 15:23:57 +0000
(11:23 -0400)
committer
Michael J. Rubinsky
<mrubinsk@horde.org>
Sat, 31 Jul 2010 15:23:57 +0000
(11:23 -0400)
imp/lib/Imap/Tree.php
patch
|
blob
|
history
diff --git
a/imp/lib/Imap/Tree.php
b/imp/lib/Imap/Tree.php
index
e9dfe78
..
812ee50
100644
(file)
--- 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;