]> git.mxchange.org Git - friendica.git/blobdiff - mod/match.php
Docs: add a note on adding `use` on theme.php
[friendica.git] / mod / match.php
index ad1e00101ea3f3ec465a53e101aa0f3011f61b3e..c5e35031f5aefcada8bba8db3d620c2b49466cff 100644 (file)
@@ -59,9 +59,9 @@ function match_content(App $a)
                }
 
                if (strlen(Config::get('system', 'directory'))) {
-                       $x = Network::postURL(get_server().'/msearch', $params);
+                       $x = Network::post(get_server().'/msearch', $params);
                } else {
-                       $x = Network::postURL(System::baseUrl() . '/msearch', $params);
+                       $x = Network::post(System::baseUrl() . '/msearch', $params);
                }
 
                $j = json_decode($x);