fix error when sending notification to group of reviewers

This commit is contained in:
Uwe Steinmann 2023-08-30 15:47:42 +02:00
parent c16fa90241
commit 6b888f4592

View File

@ -1177,7 +1177,7 @@ class SeedDMS_NotificationService {
if($reviewer->isType('user'))
$this->toIndividual($user, $reviewer, $subject, $message, $params, SeedDMS_NotificationService::RECV_REVIEWER);
elseif($approver->isType('group'))
elseif($reviewer->isType('group'))
$this->toGroup($user, $reviewer, $subject, $message, $params, SeedDMS_NotificationService::RECV_REVIEWER);
} /* }}} */