diff options
Diffstat (limited to 'views/json/api')
-rw-r--r-- | views/json/api/output.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/views/json/api/output.php b/views/json/api/output.php index d34bd57b3..cb86a12db 100644 --- a/views/json/api/output.php +++ b/views/json/api/output.php @@ -15,5 +15,8 @@ $result = $vars['result']; $export = $result->export(); - echo json_encode($export); + // echo json_encode($export);
+ global $jsonexport;
+ $jsonexport['api'][] = $export;
+ ?>
\ No newline at end of file |