From: Michael M Slusarz Date: Wed, 1 Sep 2010 05:41:10 +0000 (-0600) Subject: Check for existence. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=1c7a1b5124a13ec3126eb352a9d4911902464d00;p=horde.git Check for existence. --- diff --git a/imp/lib/Imap/Tree.php b/imp/lib/Imap/Tree.php index 5ac76e58d..af6b5c46e 100644 --- a/imp/lib/Imap/Tree.php +++ b/imp/lib/Imap/Tree.php @@ -1788,6 +1788,7 @@ class IMP_Imap_Tree implements ArrayAccess, Iterator /* If element exists in ancestors list, it is valid. */ if (isset($c['ancestors']) && + isset($c['ancestors'][$this->_currparent]) && ($c['ancestors'][$this->_currparent] == $this->_currkey)) { return true; }