diff options
Diffstat (limited to 'views/json')
-rw-r--r-- | views/json/api/output.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/views/json/api/output.php b/views/json/api/output.php index 49aeb8438..c593dada2 100644 --- a/views/json/api/output.php +++ b/views/json/api/output.php @@ -13,6 +13,8 @@ $result = $vars['result']; $export = $result->export(); -// echo json_encode($export); global $jsonexport; -$jsonexport['api'][] = $export;
\ No newline at end of file + +// with api calls, we don't want extra baggage found in other json views +// so we skip the associative array +$jsonexport = $export;
\ No newline at end of file |