]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Api/Mastodon/Search.php
Merge pull request #13176 from MrPetovan/bug/warnings
[friendica.git] / src / Module / Api / Mastodon / Search.php
index 69e2627682773c040812da00b98360d12c3a1727..956e3d73b82a22562a2149cca1218c79689ed03f 100644 (file)
@@ -115,7 +115,7 @@ class Search extends BaseApi
                }
 
                $accounts = [];
-               foreach (Contact::searchByName($q, '', $following ? $uid : 0, $limit, $offset) as $contact) {
+               foreach (Contact::searchByName($q, '', $following ? $uid : 0, false, $limit, $offset) as $contact) {
                        $accounts[] = DI::mstdnAccount()->createFromContactId($contact['id'], $uid);
                }