toList() returns error

This commit is contained in:
Uwe Steinmann 2021-01-28 21:07:04 +01:00
parent 32ca8ccae3
commit 4ad9638e33

View File

@ -216,10 +216,11 @@ class SeedDMS_EmailNotify extends SeedDMS_Notify {
return false;
}
$ret = true;
foreach ($recipients as $recipient) {
$this->toIndividual($sender, $recipient, $subject, $message, $params);
$ret &= $this->toIndividual($sender, $recipient, $subject, $message, $params);
}
return true;
return $ret;
} /* }}} */
}