]> git.mxchange.org Git - friendica.git/blobdiff - src/Worker/SearchDirectory.php
Merge pull request #10697 from MrPetovan/bug/10692-api-expand-entities
[friendica.git] / src / Worker / SearchDirectory.php
index 6dd7f79e1585af856637713b37a3d20b6e483855..bb69969b9e644a7f257f0ee9766a0ca48af530bd 100644 (file)
@@ -46,7 +46,7 @@ class SearchDirectory
                        }
                }
 
-               $x = DI::httpRequest()->fetch(Search::getGlobalDirectory() . '/lsearch?p=1&n=500&search=' . urlencode($search));
+               $x = DI::httpClient()->fetch(Search::getGlobalDirectory() . '/lsearch?p=1&n=500&search=' . urlencode($search));
                $j = json_decode($x);
 
                if (!empty($j->results)) {