mirror of
https://github.com/nextcloud/server.git
synced 2026-04-27 01:00:20 -04:00
Merge pull request #43901 from nextcloud/backport/30957/stable27
This commit is contained in:
commit
3ecaeb6f2b
1 changed files with 2 additions and 2 deletions
|
|
@ -163,7 +163,7 @@ class MailPlugin implements ISearchPlugin {
|
|||
}
|
||||
if ($exactEmailMatch && $this->shareeEnumerationFullMatch) {
|
||||
try {
|
||||
$cloud = $this->cloudIdManager->resolveCloudId($contact['CLOUD'][0]);
|
||||
$cloud = $this->cloudIdManager->resolveCloudId($contact['CLOUD'][0] ?? '');
|
||||
} catch (\InvalidArgumentException $e) {
|
||||
continue;
|
||||
}
|
||||
|
|
@ -188,7 +188,7 @@ class MailPlugin implements ISearchPlugin {
|
|||
|
||||
if ($this->shareeEnumeration) {
|
||||
try {
|
||||
$cloud = $this->cloudIdManager->resolveCloudId($contact['CLOUD'][0]);
|
||||
$cloud = $this->cloudIdManager->resolveCloudId($contact['CLOUD'][0] ?? '');
|
||||
} catch (\InvalidArgumentException $e) {
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue