From 6cd7549509f534efbdb2736a15f145dacd0223f8 Mon Sep 17 00:00:00 2001 From: "John Molakvoæ (skjnldsv)" Date: Tue, 20 Oct 2020 14:24:01 +0200 Subject: Bump @nextcloud/vue to 3.0.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ (skjnldsv) Signed-off-by: npmbuildbot[bot] --- lib/private/Collaboration/Collaborators/UserPlugin.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/private/Collaboration') 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(), -- cgit v1.2.3