fixes
This commit is contained in:
@@ -128,6 +128,9 @@ class NoteHookProcessor
|
||||
// This is correct.
|
||||
$skipAclCheck = !$note->isAclProcessed();
|
||||
|
||||
$teamIdList = null;
|
||||
$userIdList = null;
|
||||
|
||||
if (!$skipAclCheck) {
|
||||
$teamIdList = $note->getLinkMultipleIdList('teams');
|
||||
$userIdList = $note->getLinkMultipleIdList('users');
|
||||
@@ -267,6 +270,8 @@ class NoteHookProcessor
|
||||
return;
|
||||
}
|
||||
|
||||
$notifyUserIdList = [];
|
||||
|
||||
foreach ($targetTeamIdList as $teamId) {
|
||||
$team = $this->entityManager->getEntity(Team::ENTITY_TYPE, $teamId);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user