mirror of
https://github.com/friendica/friendica
synced 2025-04-28 21:44:22 +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
|
@ -77,7 +77,7 @@ class Search
|
|||
// Ensure that we do have a contact entry
|
||||
Contact::getIdForURL($user_data['url'] ?? '');
|
||||
|
||||
$contactDetails = Contact::getByURLForUser($user_data['url'] ?? '', local_user(), [], false);
|
||||
$contactDetails = Contact::getByURLForUser($user_data['url'] ?? '', local_user(), false);
|
||||
|
||||
$result = new ContactResult(
|
||||
$user_data['name'] ?? '',
|
||||
|
@ -143,7 +143,7 @@ class Search
|
|||
|
||||
foreach ($profiles as $profile) {
|
||||
$profile_url = $profile['url'] ?? '';
|
||||
$contactDetails = Contact::getByURLForUser($profile_url, local_user(), [], false);
|
||||
$contactDetails = Contact::getByURLForUser($profile_url, local_user(), false);
|
||||
|
||||
$result = new ContactResult(
|
||||
$profile['name'] ?? '',
|
||||
|
@ -232,7 +232,7 @@ class Search
|
|||
continue;
|
||||
}
|
||||
|
||||
$contact = Contact::getByURLForUser($row["nurl"], local_user(), [], false);
|
||||
$contact = Contact::getByURLForUser($row["nurl"], local_user(), false);
|
||||
|
||||
if ($contact["name"] == "") {
|
||||
$contact["name"] = end(explode("/", $urlParts["path"]));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue