Merge pull request #10218 from annando/issue-10184
Issue 10184: Fix directory search results
This commit is contained in:
commit
d148ff0336
|
@ -134,7 +134,7 @@ class Search
|
||||||
$profiles = $results['profiles'] ?? [];
|
$profiles = $results['profiles'] ?? [];
|
||||||
|
|
||||||
foreach ($profiles as $profile) {
|
foreach ($profiles as $profile) {
|
||||||
$profile_url = $profile['url'] ?? '';
|
$profile_url = $profile['profile_url'] ?? '';
|
||||||
$contactDetails = Contact::getByURLForUser($profile_url, local_user());
|
$contactDetails = Contact::getByURLForUser($profile_url, local_user());
|
||||||
|
|
||||||
$result = new ContactResult(
|
$result = new ContactResult(
|
||||||
|
|
Loading…
Reference in a new issue