aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--views/default/object/album.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/views/default/object/album.php b/views/default/object/album.php
index 81266e0fd..9a34e3d5f 100644
--- a/views/default/object/album.php
+++ b/views/default/object/album.php
@@ -90,7 +90,9 @@
?>
<div class="clearfloat"></div>
<div id="tidypics_info">
- <div class="object_tag_string"><?php echo elgg_view('output/tags',array('value' => $tags));?></div>
+<?php if (!is_null($tags)) { ?>
+ <div class="object_tag_string"><?php echo elgg_view('output/tags',array('value' => $tags));?></div>
+<?php } ?>
<?php echo elgg_echo('album:by');?> <b><a href="<?php echo $vars['url'] ;?>pg/profile/<?php echo $owner->username; ?>"><?php echo $owner->name; ?></a></b> <?php echo $friendlytime; ?><br>
<?php echo elgg_echo('image:total');?> <b><?php echo count($count);?></b><br>
</div>