From caa0256f194f656d3ef0c413eea939212b2843d6 Mon Sep 17 00:00:00 2001 From: yuri Date: Thu, 14 May 2015 10:54:13 +0300 Subject: [PATCH] fix email notification --- application/Espo/Notificators/Email.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/Espo/Notificators/Email.php b/application/Espo/Notificators/Email.php index 0ce4c9752f..6321b2cfbd 100644 --- a/application/Espo/Notificators/Email.php +++ b/application/Espo/Notificators/Email.php @@ -60,7 +60,7 @@ class Email extends \Espo\Core\Notificators\Base $userIdList = []; foreach ($emailUserIdList as $userId) { - if (!in_array($userId, $userIdList) && $userId != $this->getUser()->id) { + if (!in_array($userId, $userIdList) && !in_array($userId, $previousUserIdList) && $userId != $this->getUser()->id) { $userIdList[] = $userId; } }