Bladeren bron

Merge pull request #30281 from nextcloud/bugfix/30280/fix-confused-notifier-with-null-group

Ignore non-existing groups when notifying group shares
tags/v24.0.0beta1
Vincent Petry 2 jaren geleden
bovenliggende
commit
e231338876
No account linked to committer's email address
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1
    1
      apps/files_sharing/lib/Notification/Notifier.php

+ 1
- 1
apps/files_sharing/lib/Notification/Notifier.php Bestand weergeven

@@ -192,7 +192,7 @@ class Notifier implements INotifier {
}

$group = $this->groupManager->get($share->getSharedWith());
if (!$group->inGroup($user)) {
if ($group === null || !$group->inGroup($user)) {
throw new AlreadyProcessedException();
}


Laden…
Annuleren
Opslaan