From: Hypolite Petovan Date: Thu, 20 Aug 2020 13:23:00 +0000 (-0400) Subject: Fix wrong contact array key reference in Search\Acl X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ac90387d82a3484a0c120a3a986084fce6699e76;p=friendica.git Fix wrong contact array key reference in Search\Acl - Addresses https://github.com/friendica/friendica/issues/8877#issuecomment-672189155 --- diff --git a/src/Module/Search/Acl.php b/src/Module/Search/Acl.php index eb6dc6f859..e8b6f357d9 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']),