aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/guidbrowser/views/default/guidbrowser/entity_full.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/mod/guidbrowser/views/default/guidbrowser/entity_full.php b/mod/guidbrowser/views/default/guidbrowser/entity_full.php
index 47c6adeb2..62dd78264 100644
--- a/mod/guidbrowser/views/default/guidbrowser/entity_full.php
+++ b/mod/guidbrowser/views/default/guidbrowser/entity_full.php
@@ -35,7 +35,7 @@
<div id="metadata">
<h2>Metadata</h2>
<?php
- foreach ($metadata as $m)
+ if ($metadata) foreach ($metadata as $m)
{
?>
<div>
@@ -66,7 +66,7 @@
<div id="annotations">
<h2>Annotations</h2>
<?php
- foreach ($annotations as $a)
+ if ($annotations) foreach ($annotations as $a)
{
?>
<div>
@@ -96,7 +96,7 @@
<div id="relationship">
<h2>Relationships</h2>
<?php
- foreach ($relationships as $r)
+ if ($relationships) foreach ($relationships as $r)
{
?>
<div>