mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-12 01:54:26 +02:00
Changed parameter order for "getbyURLForUser"
This commit is contained in:
parent
fc0312451d
commit
e374aecc46
11 changed files with 14 additions and 14 deletions
|
@ -57,7 +57,7 @@ function common_content(App $a)
|
|||
|
||||
if (DBA::isResult($contact)) {
|
||||
DI::page()['aside'] = "";
|
||||
Model\Profile::load($a, "", Model\Contact::getByURLForUser($contact["url"], 0, [], false));
|
||||
Model\Profile::load($a, "", Model\Contact::getByURL($contact["url"], false));
|
||||
}
|
||||
} else {
|
||||
$contact = DBA::selectFirst('contact', ['name', 'url', 'photo', 'uid', 'id'], ['self' => true, 'uid' => $uid]);
|
||||
|
@ -124,7 +124,7 @@ function common_content(App $a)
|
|||
$entries = [];
|
||||
foreach ($common_friends as $common_friend) {
|
||||
//get further details of the contact
|
||||
$contact_details = Model\Contact::getByURLForUser($common_friend['url'], $uid, [], false);
|
||||
$contact_details = Model\Contact::getByURLForUser($common_friend['url'], $uid, false);
|
||||
|
||||
// $rr['id'] is needed to use contact_photo_menu()
|
||||
/// @TODO Adding '/" here avoids E_NOTICE on missing constants
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue