From 93e99d5a0080f6ef89192b7d406e013a3b9fe48f Mon Sep 17 00:00:00 2001 From: ben Date: Wed, 4 Feb 2009 18:44:54 +0000 Subject: JSON feeds now work. Fixes #716 git-svn-id: https://code.elgg.org/elgg/trunk@2650 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/json/export/metadata.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'views/json/export/metadata.php') 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 -- cgit v1.2.3