projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01fd6db
)
Data is in the keys at this point
author
Michael M Slusarz
<slusarz@curecanti.org>
Fri, 20 Nov 2009 23:57:31 +0000
(16:57 -0700)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Fri, 20 Nov 2009 23:57:31 +0000
(16:57 -0700)
imp/lib/Imap/Tree.php
patch
|
blob
|
history
diff --git
a/imp/lib/Imap/Tree.php
b/imp/lib/Imap/Tree.php
index
2aea730
..
ce4b61b
100644
(file)
--- 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)
;
}
}