From 170caab54318d14c1472eff7f09f96d928b41845 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Fri, 20 Nov 2009 16:57:31 -0700 Subject: [PATCH] Data is in the keys at this point --- imp/lib/Imap/Tree.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/imp/lib/Imap/Tree.php b/imp/lib/Imap/Tree.php index 2aea73090..ce4b61b5b 100644 --- a/imp/lib/Imap/Tree.php +++ b/imp/lib/Imap/Tree.php @@ -287,7 +287,7 @@ class IMP_Imap_Tree protected function _getList($showunsub) { if ($showunsub && !is_null($this->_fulllist)) { - return $this->_fulllist; + return array_keys($this->_fulllist); } elseif (!$showunsub) { if (is_null($this->_subscribed)) { /* The subscribed list MAY contain mailboxes that do not @@ -296,7 +296,7 @@ class IMP_Imap_Tree * and intersect against the LSUB list. */ $this->_getList(true); } else { - return $this->_subscribed; + return array_keys($this->_subscribed); } } -- 2.11.0