set __recvtype__ in params

This commit is contained in:
Uwe Steinmann 2023-09-05 19:28:14 +02:00
parent 4e6bc10273
commit 391c82af24

View File

@ -88,6 +88,8 @@ class SeedDMS_NotificationService {
$to = '';
}
$params['__recvtype__'] = $recvtype;
/* Call filter of notification service if set */
if(!is_callable([$service, 'filter']) || $service->filter($sender, $recipient, $subject, $message, $params, $recvtype)) {
if(!$service->toIndividual($sender, $recipient, $subject, $message, $params)) {