aboutsummaryrefslogtreecommitdiff
path: root/views/default/export/entity.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/export/entity.php')
-rw-r--r--views/default/export/entity.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/views/default/export/entity.php b/views/default/export/entity.php
index 38d2d0902..0e6e26025 100644
--- a/views/default/export/entity.php
+++ b/views/default/export/entity.php
@@ -18,16 +18,19 @@
$annotations = get_annotations($entity->guid);
$relationships = get_entity_relationships($entity->guid);
+ $exportable_values = $entity->getExportableValues();
?>
<div>
<?php
foreach ($entity as $k => $v)
{
+ if ((in_array($k, $exportable_values)) || (isadminloggedin())) {
?>
<div>
<p><b><?php echo $k; ?>: </b><?php echo $v; ?></p>
</div>
<?php
+ }
}
?>
</div>