diff options
Diffstat (limited to 'views/json/export/entity.php')
-rw-r--r-- | views/json/export/entity.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/views/json/export/entity.php b/views/json/export/entity.php index 9eeec770f..8c253d9b0 100644 --- a/views/json/export/entity.php +++ b/views/json/export/entity.php @@ -9,16 +9,16 @@ * @link http://elgg.org/ */ - $entity = $vars['entity'];
+ $entity = $vars['entity']; $export = new stdClass; $exportable_values = $entity->getExportableValues(); foreach ($exportable_values as $v) - $export->$v = $entity->$v;
-
+ $export->$v = $entity->$v; + $export->url = $entity->getURL(); -
+ global $jsonexport; $jsonexport[$entity->getType()][$entity->getSubtype()][] = $export; ?>
\ No newline at end of file |