From 01391055dc20dff843e7ef7b9dd80dbc1dcb256d Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Thu, 23 Jul 2015 13:45:57 +0000 Subject: [PATCH] W.I.P mail tree: fix wrong profileID --- mail/inc/class.mail_tree.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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