aboutsummaryrefslogtreecommitdiff
path: root/views/json/export/metadata.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/json/export/metadata.php')
-rw-r--r--views/json/export/metadata.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/views/json/export/metadata.php b/views/json/export/metadata.php
index 273051d22..d1a5a44d8 100644
--- a/views/json/export/metadata.php
+++ b/views/json/export/metadata.php
@@ -18,6 +18,8 @@
foreach ($exportable_values as $v)
$export->$v = $m->$v;
-
- echo json_encode($export);
+
+ global $jsonexport;
+ $jsonexport['metadata'][] = $entity;
+ // echo json_encode($export);
?> \ No newline at end of file