diff --git a/mail/inc/class.mail_tree.inc.php b/mail/inc/class.mail_tree.inc.php index 78c4d95f2d..1b8f7c945a 100644 --- a/mail/inc/class.mail_tree.inc.php +++ b/mail/inc/class.mail_tree.inc.php @@ -135,8 +135,8 @@ class mail_tree return $hasChildren; }; - if ($_parent) $_profileID = $this->ui->mail_bo->profileID; - + if ($_parent) list($_profileID) = explode(self::$delimiter, $_parent); + if (is_numeric($_profileID) && $_profileID != $this->ui->mail_bo->profileID) { try