Skip to content

Commit e0b6e0f

Browse files
authored
Merge pull request #57358 from nextcloud/backport/54102/stable32
2 parents 07ee8cf + 584821e commit e0b6e0f

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

lib/private/Collaboration/Collaborators/MailPlugin.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,9 @@ public function search($search, $limit, $offset, ISearchResult $searchResult): b
160160

161161
if ($this->shareeEnumeration) {
162162
try {
163+
if (!isset($contact['CLOUD'])) {
164+
continue;
165+
}
163166
$cloud = $this->cloudIdManager->resolveCloudId($contact['CLOUD'][0] ?? '');
164167
} catch (\InvalidArgumentException $e) {
165168
continue;

0 commit comments

Comments
 (0)