diff --git a/pool/page_api.php b/pool/page_api.php index 234d4235..7e43d28a 100644 --- a/pool/page_api.php +++ b/pool/page_api.php @@ -32,7 +32,8 @@ function show_api($info, $page, $menu, $name, $user) $info = homeInfo($u); if ($info === false) no_api($jfu); - $rep = fldEncode($info, 'lastbc', true); + $rep = fldEncode($info, 'STAMP', true); + $rep .= fldEncode($info, 'lastbc', false); $rep .= fldEncode($info, 'lastheight', false); $rep .= fldEncode($info, 'currndiff', false); $rep .= fldEncode($info, 'lastblock', false); @@ -66,7 +67,8 @@ function show_api($info, $page, $menu, $name, $user) if ($ans === false) no_api($jfu); - $rep = fldEncode($ans, 'rows', true); + $rep = fldEncode($ans, 'STAMP', true); + $rep .= fldEncode($ans, 'rows', false); $rows = $ans['rows']; $flds = explode(',', $ans['flds']); $zeflds = '';