X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=inline;f=mod%2Fmatch.php;h=7e805d5baf4c4d9272e462f5c62a7a365bfd8549;hb=bedab33e0b3a1636332c8f07c157a357bf3fd459;hp=caa4c944cae6a660e0398098dc33836a1b16af22;hpb=47c2565917bb0f190ef9374d261e538c424b210c;p=friendica.git diff --git a/mod/match.php b/mod/match.php index caa4c944ca..7e805d5baf 100644 --- a/mod/match.php +++ b/mod/match.php @@ -59,16 +59,16 @@ 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); if ($j->total) { - $a->set_pager_total($j->total); - $a->set_pager_itemspage($j->items_page); + $a->setPagerTotal($j->total); + $a->setPagerItemsPage($j->items_page); } if (count($j->results)) {