diff --git a/module/DemandeExterne/src/Service/Notification/NotificationService.php b/module/DemandeExterne/src/Service/Notification/NotificationService.php index eec406757a2d5b9cef9ef507a2bc7be243d204a9..7520e624c44a8bf7d35bca0d6577562b585e9005 100644 --- a/module/DemandeExterne/src/Service/Notification/NotificationService.php +++ b/module/DemandeExterne/src/Service/Notification/NotificationService.php @@ -135,8 +135,9 @@ class NotificationService extends \Application\Service\Notification\Notification { $agent = $demande->getAgent(); $vars = $this->generateVariableArray($demande); + $adresses = $agent->getEmail() . ",". $this->getMailsSuperieursByAgent($agent); $mail = $this->generateAndSend( - MailTemplates::DEMANDE_EXTERNE_VALIDATION_REFUS, $this->getMailsSuperieursByAgent($agent), + MailTemplates::DEMANDE_EXTERNE_VALIDATION_REFUS, $adresses, [$demande->generateTag()], $vars); return $mail; }