]> git.mxchange.org Git - friendica.git/commitdiff
Fix wrong contact array key reference in Search\Acl
authorHypolite Petovan <hypolite@mrpetovan.com>
Thu, 20 Aug 2020 13:23:00 +0000 (09:23 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Thu, 20 Aug 2020 13:23:00 +0000 (09:23 -0400)
- Addresses https://github.com/friendica/friendica/issues/8877#issuecomment-672189155

src/Module/Search/Acl.php

index eb6dc6f85948703d7d357c9f2f45f3ea2fd8d6b6..e8b6f357d9c422280d805a922a60e4df55a28bdb 100644 (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']),