aboutsummaryrefslogtreecommitdiff
path: root/views/json
diff options
context:
space:
mode:
Diffstat (limited to 'views/json')
-rw-r--r--views/json/api/output.php5
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