Merge pull request #10218 from annando/issue-10184

Issue 10184: Fix directory search results
This commit is contained in:
Tobias Diekershoff 2021-05-07 20:45:20 +02:00 committed by GitHub
commit d148ff0336
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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(