]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/AllFriends.php
EOL removed
[friendica.git] / src / Module / AllFriends.php
index d2d2b3b0cf627a3b06057ae99e4c35ac3eed9f04..0a95256172220c83a86a6b4e0faf2100661bd22f 100644 (file)
@@ -79,7 +79,7 @@ class AllFriends extends BaseModule
                $entries = [];
                foreach ($friends as $friend) {
                        //get further details of the contact
-                       $contactDetails = array_merge($friend, Model\Contact::getByURLForUser($friend['url'], $uid, false));
+                       $contactDetails = Model\Contact::getByURLForUser($friend['url'], $uid) ?: $friend;
 
                        $connlnk = '';
                        // $friend[cid] is only available for common contacts. So if the contact is a common one, use contact_photo_menu to generate the photoMenu