aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2009-03-28 14:43:48 +0000
committerCash Costello <cash.costello@gmail.com>2009-03-28 14:43:48 +0000
commitbdf0d61336b878f2e26fc42f98327834423fb409 (patch)
treed96e524836805aa589d3ecd37ad2c7761f69ca3e /views
parent2f94fa464bdc62e4e4a394f231df88ee84b33502 (diff)
downloadelgg-bdf0d61336b878f2e26fc42f98327834423fb409.tar.gz
elgg-bdf0d61336b878f2e26fc42f98327834423fb409.tar.bz2
not including tag area if no tags
Diffstat (limited to 'views')
-rw-r--r--views/default/object/image.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/views/default/object/image.php b/views/default/object/image.php
index 79939bfbb..67fd87bfb 100644
--- a/views/default/object/image.php
+++ b/views/default/object/image.php
@@ -91,7 +91,13 @@
</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('image:by');?> <b><a href="<?php echo $vars['url']; ?>pg/profile/<?php echo $owner->username; ?>"><?php echo $owner->name; ?></a></b> <?php echo $friendlytime; ?><br>
</div>
<?php