]> git.mxchange.org Git - friendica.git/blobdiff - src/Worker/SearchDirectory.php
Update src/Module/Magic.php
[friendica.git] / src / Worker / SearchDirectory.php
index 7a36d2072425fb7f0988b77661e377f7bdb33c90..0bd17e0f821b58ee0cfcba77459b1e21bf891d02 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2022, the Friendica project
+ * @copyright Copyright (C) 2010-2023, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -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)) {