From: Michael M Slusarz Date: Fri, 20 Nov 2009 23:57:31 +0000 (-0700) Subject: Data is in the keys at this point X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=170caab54318d14c1472eff7f09f96d928b41845;p=horde.git Data is in the keys at this point --- 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); } }