mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
remove legacy json format function (#12583)
* remove legacy json format function * remove silly use
This commit is contained in:
@@ -58,4 +58,4 @@ foreach (dbFetchRows($sql, $param) as $routing) {
|
||||
}
|
||||
|
||||
$output = ['current'=>$current, 'rowCount'=>$rowCount, 'rows'=>$response, 'total'=>$total];
|
||||
echo _json_encode($output);
|
||||
echo json_encode($output, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE);
|
||||
|
||||
Reference in New Issue
Block a user