X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fmsearch.php;h=b280db4f1879045d0c21641902426979d37258a9;hb=b521e45903544f15443d9f77bfe684c67d139873;hp=b02a036ae4e1996dc4a6853892b77b6b4df71724;hpb=c3f1da23a6ba34734ca301af34163fc4970ce8ac;p=friendica.git diff --git a/mod/msearch.php b/mod/msearch.php index b02a036ae4..b280db4f18 100644 --- a/mod/msearch.php +++ b/mod/msearch.php @@ -1,6 +1,6 @@ $search_result['name'], 'url' => DI::baseUrl() . '/profile/' . $search_result['nickname'], @@ -77,6 +77,8 @@ function msearch_post(App $a) ]; } + DBA::close($search_stmt); + $output = ['total' => $total, 'items_page' => $perpage, 'page' => $page, 'results' => $results]; echo json_encode($output);