fix sending notifiations to list

This commit is contained in:
Uwe Steinmann 2021-02-02 21:54:29 +01:00
parent 83d54c3a36
commit 5f7ab50965

View File

@ -135,7 +135,7 @@ class SeedDMS_NotificationService {
foreach($this->services as $name => $service) { foreach($this->services as $name => $service) {
$ret = true; $ret = true;
foreach ($recipients as $recipient) { foreach ($recipients as $recipient) {
$ret &= $this->toIndividual($sender, $recipients, $subject, $message, $params, $recvtype); $ret &= $this->toIndividual($sender, $recipient, $subject, $message, $params, $recvtype);
} }
$this->errors[$name] = $ret; $this->errors[$name] = $ret;
if(!$ret) { if(!$ret) {