]> git.mxchange.org Git - friendica.git/blobdiff - src/Worker/SearchDirectory.php
Use a constant for the avatar base path
[friendica.git] / src / Worker / SearchDirectory.php
index 7a36d2072425fb7f0988b77661e377f7bdb33c90..b1f8e7f9d222cd31203dae123861a16e9c06aa0e 100644 (file)
@@ -47,7 +47,7 @@ class SearchDirectory
                        }
                }
 
-               $x = DI::httpClient()->fetch(Search::getGlobalDirectory() . '/lsearch?p=1&n=500&search=' . urlencode($search), 0, HttpClientAccept::JSON);
+               $x = DI::httpClient()->fetch(Search::getGlobalDirectory() . '/lsearch?p=1&n=500&search=' . urlencode($search), HttpClientAccept::JSON);
                $j = json_decode($x);
 
                if (!empty($j->results)) {