]> git.mxchange.org Git - friendica.git/blobdiff - mod/match.php
Fix function naming
[friendica.git] / mod / match.php
index bb1e4542aed0004eab693cdba92b3c10e4475291..7e805d5baf4c4d9272e462f5c62a7a365bfd8549 100644 (file)
@@ -59,9 +59,9 @@ function match_content(App $a)
                }
 
                if (strlen(Config::get('system', 'directory'))) {
-                       $x = Network::post(get_server().'/msearch', $params);
+                       $x = Network::post(get_server().'/msearch', $params)->getBody();
                } else {
-                       $x = Network::post(System::baseUrl() . '/msearch', $params);
+                       $x = Network::post(System::baseUrl() . '/msearch', $params)->getBody();
                }
 
                $j = json_decode($x);