From 8ec596b8a5ffad878d830342b5f0212ad892fbeb Mon Sep 17 00:00:00 2001 From: Sem Date: Mon, 7 May 2012 05:02:51 +0200 Subject: Fixes #4504. Entity duplicates in json views. --- views/json/export/entity.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'views/json/export/entity.php') 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; -- cgit v1.2.3 From 1d9613b682ad331d2de3b1a838a26dd36c821490 Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Sat, 23 Jun 2012 09:38:56 -0400 Subject: Refs #4504 made it easier to detect any problems caused by hack for json duplicate issue --- views/json/export/entity.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'views/json/export/entity.php') diff --git a/views/json/export/entity.php b/views/json/export/entity.php index cd5d74d41..36af5eaef 100644 --- a/views/json/export/entity.php +++ b/views/json/export/entity.php @@ -21,4 +21,5 @@ $export->url = $entity->getURL(); global $jsonexport; $jsonexport[$entity->getType()][$entity->getSubtype()][] = $export; -echo true; +// @todo hack to fix #4504 +echo "Fix for bug #4504"; -- cgit v1.2.3