projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec9a50e
)
Fix pollist return.
author
Michael M Slusarz
<slusarz@curecanti.org>
Thu, 30 Jul 2009 21:16:56 +0000
(15:16 -0600)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Thu, 30 Jul 2009 21:16:56 +0000
(15:16 -0600)
imp/lib/Imap/Tree.php
patch
|
blob
|
history
diff --git
a/imp/lib/Imap/Tree.php
b/imp/lib/Imap/Tree.php
index
98c9e6c
..
b9c886b
100644
(file)
--- a/
imp/lib/Imap/Tree.php
+++ b/
imp/lib/Imap/Tree.php
@@
-1148,14
+1148,14
@@
class IMP_Imap_Tree
$plist = $prune
? array_values(array_intersect(array_keys($this->_poll), $this->folderList()))
- :
$this->_poll
;
+ :
array_keys($this->_poll)
;
if ($sort) {
$ns_new = $this->_getNamespace(null);
Horde_Imap_Client_Sort::sortMailboxes($plist, array('delimiter' => $ns_new['delimiter'], 'inbox' => true));
}
- return
$plist
;
+ return
array_filter($plist)
;
}
/**