Fix call order of Mastodon Top level search on accounts
This commit is contained in:
parent
ce5aa016e1
commit
379c84b7ab
|
@ -115,7 +115,7 @@ class Search extends BaseApi
|
||||||
}
|
}
|
||||||
|
|
||||||
$accounts = [];
|
$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);
|
$accounts[] = DI::mstdnAccount()->createFromContactId($contact['id'], $uid);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user