From: Hank Grabowski Date: Fri, 24 Nov 2023 22:06:41 +0000 (-0500) Subject: Fix call order of Mastodon Top level search on accounts X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=379c84b7abb7582d90f8dfae0b97c84ed238b15b;p=friendica.git Fix call order of Mastodon Top level search on accounts --- diff --git a/src/Module/Api/Mastodon/Search.php b/src/Module/Api/Mastodon/Search.php index 75dc05e244..07a0d6074d 100644 --- a/src/Module/Api/Mastodon/Search.php +++ b/src/Module/Api/Mastodon/Search.php @@ -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); }