diff --git a/inc/inc.ClassNotificationService.php b/inc/inc.ClassNotificationService.php index ba6042358..93de68c01 100644 --- a/inc/inc.ClassNotificationService.php +++ b/inc/inc.ClassNotificationService.php @@ -912,7 +912,7 @@ class SeedDMS_NotificationService { // if user is not owner and owner not already in list of notifiers, then // send notification to owner if ($user->getID() != $document->getOwner()->getID() && - false === SeedDMS_Core_DMS::inList($document->getOwner(), $notifyList['users'])) { + false === SeedDMS_Core_DMS::inList($document->getOwner(), $nl['users'])) { $this->toIndividual($user, $document->getOwner(), $subject, $message, $params, SeedDMS_NotificationService::RECV_OWNER); } } /* }}} */ @@ -946,7 +946,7 @@ class SeedDMS_NotificationService { } // if user is not owner send notification to owner if ($user->getID() != $folder->getOwner()->getID() && - false === SeedDMS_Core_DMS::inList($folder->getOwner(), $notifyList['users'])) { + false === SeedDMS_Core_DMS::inList($folder->getOwner(), $nl['users'])) { $this->toIndividual($user, $folder->getOwner(), $subject, $message, $params, SeedDMS_NotificationService::RECV_OWNER); } } /* }}} */