From 6b888f459254253604bd459161cd0db0a24ae6bb Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Wed, 30 Aug 2023 15:47:42 +0200 Subject: [PATCH] fix error when sending notification to group of reviewers --- inc/inc.ClassNotificationService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/inc.ClassNotificationService.php b/inc/inc.ClassNotificationService.php index bb1d861f6..7fac59f59 100644 --- a/inc/inc.ClassNotificationService.php +++ b/inc/inc.ClassNotificationService.php @@ -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); } /* }}} */