From ac90387d82a3484a0c120a3a986084fce6699e76 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Thu, 20 Aug 2020 09:23:00 -0400 Subject: [PATCH] Fix wrong contact array key reference in Search\Acl - Addresses https://github.com/friendica/friendica/issues/8877#issuecomment-672189155 --- src/Module/Search/Acl.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Module/Search/Acl.php b/src/Module/Search/Acl.php index eb6dc6f85..e8b6f357d 100644 --- a/src/Module/Search/Acl.php +++ b/src/Module/Search/Acl.php @@ -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']),