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); } /* }}} */