Merge pull request #25624 from nextcloud/backport/25612/stable21
[stable21] Make new result parts optional
This commit is contained in:
commit
efa1ef5d69
|
@ -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'] ?? '',
|
||||
];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue