diff options
Diffstat (limited to 'core/Controller/AutoCompleteController.php')
-rw-r--r-- | core/Controller/AutoCompleteController.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/Controller/AutoCompleteController.php b/core/Controller/AutoCompleteController.php index 63a95531e82..74f5db485c8 100644 --- a/core/Controller/AutoCompleteController.php +++ b/core/Controller/AutoCompleteController.php @@ -115,10 +115,10 @@ class AutoCompleteController extends Controller { $output[] = [ 'id' => (string) $result['value']['shareWith'], 'label' => $result['label'], - 'icon' => $result['icon'], + 'icon' => $result['icon'] ?? '', 'source' => $type, - 'status' => $result['status'], - 'subline' => $result['subline'] + 'status' => $result['status'] ?? '', + 'subline' => $result['subline'] ?? '', ]; } } |