From: Jan Schneider Date: Wed, 18 Aug 2010 09:39:30 +0000 (+0200) Subject: Compare the keys, not the values (which are objects). X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=baf3d7aff0d92ac3f2d9261ef6e22643558d0284;p=horde.git Compare the keys, not the values (which are objects). --- diff --git a/imp/lib/Imap/Tree.php b/imp/lib/Imap/Tree.php index 42c7eaa9e..01f000051 100644 --- a/imp/lib/Imap/Tree.php +++ b/imp/lib/Imap/Tree.php @@ -1114,7 +1114,7 @@ class IMP_Imap_Tree implements ArrayAccess $this->_initPollList(); $plist = $prune - ? array_values(array_intersect(array_keys($this->_poll), $this->folderList())) + ? array_values(array_intersect(array_keys($this->_poll), array_keys($this->folderList()))) : array_keys($this->_poll); if ($sort) {