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:31:33 +0200 |
commit | 9e76d4049a00d2349ca2a4d3daeb4b36c9252b0c (patch) | |
tree | cec6adeee18970498815b7a4edaaf23361df4eee /lib | |
parent | 3fa13e791e825c765cf808ff7aefcabd64ddcf2b (diff) | |
download | nextcloud-server-9e76d4049a00d2349ca2a4d3daeb4b36c9252b0c.tar.gz nextcloud-server-9e76d4049a00d2349ca2a4d3daeb4b36c9252b0c.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, |