mirror of
https://github.com/friendica/friendica
synced 2025-04-20 03:10:12 +00:00
Changed default value
This commit is contained in:
parent
e374aecc46
commit
6d3949d54a
10 changed files with 12 additions and 12 deletions
|
@ -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 = array_merge($friend, Model\Contact::getByURLForUser($friend['url'], $uid));
|
||||
|
||||
$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
|
||||
|
|
|
@ -65,7 +65,7 @@ class Hovercard extends BaseModule
|
|||
// Search for contact data
|
||||
// Look if the local user has got the contact
|
||||
if (Session::isAuthenticated()) {
|
||||
$contact = Contact::getByURLForUser($contact_url, local_user(), false);
|
||||
$contact = Contact::getByURLForUser($contact_url, local_user());
|
||||
} else {
|
||||
$contact = Contact::getByURL($contact_url, false);
|
||||
}
|
||||
|
|
|
@ -103,7 +103,7 @@ class Contacts extends BaseProfile
|
|||
continue;
|
||||
}
|
||||
|
||||
$contact_details = array_merge($contact, Contact::getByURLForUser($contact['url'], $a->profile['uid'], false));
|
||||
$contact_details = array_merge($contact, Contact::getByURLForUser($contact['url'], $a->profile['uid']));
|
||||
|
||||
$contacts[] = [
|
||||
'id' => $contact['id'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue