From f642fc9ad96eee5c522af40b2840042c56396ae2 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 2 Sep 2020 21:40:17 +0200 Subject: [PATCH] Fix --- htdocs/comm/action/class/actioncomm.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/comm/action/class/actioncomm.class.php b/htdocs/comm/action/class/actioncomm.class.php index 6b5f19fa64c..87f1aea95e4 100644 --- a/htdocs/comm/action/class/actioncomm.class.php +++ b/htdocs/comm/action/class/actioncomm.class.php @@ -2057,7 +2057,7 @@ class ActionComm extends CommonObject if ($res < 0) { $errorsMsg[] = "Failed to update status of ActionComm Reminder"; - //$error++; Do not add error here. + $error++; break; // This is to avoid to have this error on all the selected email. If we fails here for one record, it may fails for others. We must solve first. } else { $nbMailSend++;