summaryrefslogtreecommitdiffstats
path: root/core/Controller/AutoCompleteController.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/Controller/AutoCompleteController.php')
-rw-r--r--core/Controller/AutoCompleteController.php6
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'] ?? '',
];
}
}