X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fmsearch.php;h=00a72ea9f72171f75470ae3042fd7c7109192057;hb=e56e543a791289e27b5f0850a85f441773167447;hp=969446ffb524968f77f0acf1afd2528832abf23a;hpb=f05fecaec16c42491f6383010960c7cb3fd70dfa;p=friendica.git diff --git a/mod/msearch.php b/mod/msearch.php index 969446ffb5..00a72ea9f7 100644 --- a/mod/msearch.php +++ b/mod/msearch.php @@ -1,6 +1,6 @@ 0, 'items_page' => $perpage, 'page' => $page, 'results' => $results]; - echo json_encode($output); - exit(); + System::jsonExit($output); } $total = 0; @@ -60,7 +60,5 @@ function msearch_post(App $a) $output = ['total' => $total, 'items_page' => $perpage, 'page' => $page, 'results' => $results]; - echo json_encode($output); - - exit(); + System::jsonExit($output); }