Fix wrong contact array key reference in Search\Acl

- Addresses https://github.com/friendica/friendica/issues/8877#issuecomment-672189155
This commit is contained in:
Hypolite Petovan 2020-08-20 09:23:00 -04:00
parent 7c16a25fc9
commit ac90387d82

View file

@ -350,7 +350,7 @@ class Acl extends BaseModule
'type' => 'c',
'photo' => Contact::getMicro($contact),
'name' => htmlspecialchars($contact['name']),
'id' => intval($contact['cid']),
'id' => intval($contact['id']),
'network' => $contact['network'],
'link' => $contact['url'],
'nick' => htmlentities(($contact['nick'] ?? '') ?: $contact['addr']),