diff options
Diffstat (limited to 'lib/private/Collaboration/Collaborators/LookupPlugin.php')
-rw-r--r-- | lib/private/Collaboration/Collaborators/LookupPlugin.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Collaboration/Collaborators/LookupPlugin.php b/lib/private/Collaboration/Collaborators/LookupPlugin.php index 6355500de0c..6f983b66b08 100644 --- a/lib/private/Collaboration/Collaborators/LookupPlugin.php +++ b/lib/private/Collaboration/Collaborators/LookupPlugin.php @@ -82,7 +82,7 @@ class LookupPlugin implements ISearchPlugin { foreach ($body as $lookup) { $remote = $this->cloudIdManager->resolveCloudId($lookup['federationId'])->getRemote(); if ($this->currentUserRemote === $remote) continue; - $name = $lookup['name']['value']; + $name = isset($lookup['name']['value']) ? $lookup['name']['value'] : ''; $label = empty($name) ? $lookup['federationId'] : $name . ' (' . $lookup['federationId'] . ')'; $result[] = [ 'label' => $label, |