Fix call order of Mastodon Top level search on accounts

This commit is contained in:
Hank Grabowski 2023-11-24 17:06:41 -05:00
parent ce5aa016e1
commit 379c84b7ab
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}