aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Collaboration
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Collaboration')
-rw-r--r--lib/private/Collaboration/Collaborators/UserPlugin.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/private/Collaboration/Collaborators/UserPlugin.php b/lib/private/Collaboration/Collaborators/UserPlugin.php
index 0b3a279182b..cd4963197ae 100644
--- a/lib/private/Collaboration/Collaborators/UserPlugin.php
+++ b/lib/private/Collaboration/Collaborators/UserPlugin.php
@@ -156,7 +156,7 @@ class UserPlugin implements ISearchPlugin {
}
$result['exact'][] = [
'label' => $userDisplayName,
- 'subline' => $status['message'],
+ 'subline' => $status['message'] ?? '',
'icon' => 'icon-user',
'value' => [
'shareType' => IShare::TYPE_USER,
@@ -180,7 +180,7 @@ class UserPlugin implements ISearchPlugin {
if ($addToWideResults) {
$result['wide'][] = [
'label' => $userDisplayName,
- 'subline' => $status['message'],
+ 'subline' => $status['message'] ?? '',
'icon' => 'icon-user',
'value' => [
'shareType' => IShare::TYPE_USER,
@@ -222,7 +222,7 @@ class UserPlugin implements ISearchPlugin {
$result['exact'][] = [
'label' => $user->getDisplayName(),
'icon' => 'icon-user',
- 'subline' => $status['message'],
+ 'subline' => $status['message'] ?? '',
'value' => [
'shareType' => IShare::TYPE_USER,
'shareWith' => $user->getUID(),