diff options
author | Bjoern Schiessle <bjoern@schiessle.org> | 2018-10-09 18:31:33 +0200 |
---|---|---|
committer | Bjoern Schiessle <bjoern@schiessle.org> | 2018-10-09 18:32:09 +0200 |
commit | 7e608df5987e7158693bc4dd2ef81922cfbc6c0a (patch) | |
tree | 0ddf9c6633109b997efd998f32a20a87f907abb6 /lib | |
parent | 52c52f555d9d75a465e3b990c201960a02825d1f (diff) | |
download | nextcloud-server-7e608df5987e7158693bc4dd2ef81922cfbc6c0a.tar.gz nextcloud-server-7e608df5987e7158693bc4dd2ef81922cfbc6c0a.zip |
adjust tests
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'lib')
-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, |