diff --git a/pool/page_api.php b/pool/page_api.php index 9819b5b7..82fbf0a6 100644 --- a/pool/page_api.php +++ b/pool/page_api.php @@ -50,7 +50,7 @@ function show_api($info, $page, $menu, $name, $user) $ans = getWorkers($u); if ($ans === false) no_api($jfu); - $rep .= fldEncode($ans, 'rows', true); + $rep = fldEncode($ans, 'rows', true); $rows = $ans['rows']; $flds = explode(',', $ans['flds']); $zeflds = '';