]> git.mxchange.org Git - friendica.git/blobdiff - src/Content/Widget/ContactBlock.php
Blanks replaced
[friendica.git] / src / Content / Widget / ContactBlock.php
index 50c60031dff071262c6457d888ee32b738feee46..041f1a89ead577e2abd72418263c0672f953961b 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2021, the Friendica project
+ * @copyright Copyright (C) 2010-2022, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -99,10 +99,10 @@ class ContactBlock
                                'network' => Protocol::FEDERATED,
                        ], ['limit' => $shown]);
 
-                       $contact_ids = array_column($personal_contacts, 'uri-id');
+                       $contact_uriids = array_column($personal_contacts, 'uri-id');
 
-                       if (!empty($contact_ids)) {
-                               $contacts_stmt = DBA::select('contact', ['id', 'uid', 'addr', 'url', 'name', 'thumb', 'avatar', 'network'], ['uri-id' => $contact_ids, 'uid' => $contact_uid]);
+                       if (!empty($contact_uriids)) {
+                               $contacts_stmt = DBA::select('contact', ['id', 'uid', 'addr', 'url', 'name', 'thumb', 'avatar', 'network'], ['uri-id' => $contact_uriids, 'uid' => $contact_uid]);
 
                                if (DBA::isResult($contacts_stmt)) {
                                        $contacts_title = DI::l10n()->tt('%d Contact', '%d Contacts', $total);