From 6f3be6fdde9214d6aebca974beea09d04a4c58a7 Mon Sep 17 00:00:00 2001 From: yuri Date: Fri, 16 Nov 2018 11:32:50 +0200 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 ea74452e90..2243b3711c 100644 --- a/application/Espo/Notificators/Email.php +++ b/application/Espo/Notificators/Email.php @@ -58,7 +58,7 @@ class Email extends \Espo\Core\Notificators\Base public function process(Entity $entity, array $options = []) { - if ($entity->get('status') !== 'Archived' && $entity->get('status') !== 'Sent') { + if (!in_array($entity->get('status'), ['Archived', 'Sent', 'Being Imported'])) { return; }