aboutsummaryrefslogtreecommitdiff
path: root/views/json/export
diff options
context:
space:
mode:
authorSem <sembrestels@riseup.net>2012-05-07 05:02:51 +0200
committerCash Costello <cash.costello@gmail.com>2012-06-23 09:34:42 -0400
commit8ec596b8a5ffad878d830342b5f0212ad892fbeb (patch)
tree085725931e81449c9d7b95082db315b285df9a69 /views/json/export
parent8fd511bcd35646c64658f63cfd35f4b0fb3541a8 (diff)
downloadelgg-8ec596b8a5ffad878d830342b5f0212ad892fbeb.tar.gz
elgg-8ec596b8a5ffad878d830342b5f0212ad892fbeb.tar.bz2
Fixes #4504. Entity duplicates in json views.
Diffstat (limited to 'views/json/export')
-rw-r--r--views/json/export/entity.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/views/json/export/entity.php b/views/json/export/entity.php
index 52cd9d244..cd5d74d41 100644
--- a/views/json/export/entity.php
+++ b/views/json/export/entity.php
@@ -19,4 +19,6 @@ foreach ($exportable_values as $v) {
$export->url = $entity->getURL();
global $jsonexport;
-$jsonexport[$entity->getType()][$entity->getSubtype()][] = $export; \ No newline at end of file
+$jsonexport[$entity->getType()][$entity->getSubtype()][] = $export;
+
+echo true;