mirror of
https://github.com/friendica/friendica
synced 2024-11-18 09:43:40 +00:00
Fix call order of Mastodon Top level search on accounts
This commit is contained in:
parent
ce5aa016e1
commit
379c84b7ab
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ class Search extends BaseApi
|
|||
}
|
||||
|
||||
$accounts = [];
|
||||
foreach (Contact::searchByName($q, '', $following ? $uid : 0, false, $limit, $offset) as $contact) {
|
||||
foreach (Contact::searchByName($q, '', false, $following ? $uid : 0, $limit, $offset) as $contact) {
|
||||
$accounts[] = DI::mstdnAccount()->createFromContactId($contact['id'], $uid);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue