aboutsummaryrefslogtreecommitdiff
path: root/views/php/export/metadata.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/php/export/metadata.php')
-rw-r--r--views/php/export/metadata.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/views/php/export/metadata.php b/views/php/export/metadata.php
index 1af6f065d..d7939bb82 100644
--- a/views/php/export/metadata.php
+++ b/views/php/export/metadata.php
@@ -12,5 +12,12 @@
*/
$m = $vars['metadata'];
- echo serialize($m);
+
+ $export = new stdClass;
+ $exportable_values = $m->getExportableValues();
+
+ foreach ($exportable_values as $v)
+ $export->$v = $m->$v;
+
+ echo serialize($export);
?> \ No newline at end of file