Skip to content
Snippets Groups Projects
Commit 219cc777 authored by Joas Schilling's avatar Joas Schilling Committed by backportbot[bot]
Browse files

Make new result parts optional

parent 69daa9e0
No related branches found
No related tags found
No related merge requests found
......@@ -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'] ?? '',
];
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment