mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
fix: Ensure CLOUD key exists before resolving Cloud ID
Signed-off-by: Enjeck C <patrathewhiz@gmail.com>
This commit is contained in:
parent
07ee8cfdc8
commit
584821e0a5
1 changed files with 3 additions and 0 deletions
|
|
@ -160,6 +160,9 @@ class MailPlugin implements ISearchPlugin {
|
|||
|
||||
if ($this->shareeEnumeration) {
|
||||
try {
|
||||
if (!isset($contact['CLOUD'])) {
|
||||
continue;
|
||||
}
|
||||
$cloud = $this->cloudIdManager->resolveCloudId($contact['CLOUD'][0] ?? '');
|
||||
} catch (\InvalidArgumentException $e) {
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Reference in a new issue