diff options
author | Cash Costello <cash.costello@gmail.com> | 2009-06-07 02:11:56 +0000 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2009-06-07 02:11:56 +0000 |
commit | 28de8d490b284551867be1153747c29a8d59b13c (patch) | |
tree | 71e6215f78d7836e0a2c88fbf95b0862419f18db /views | |
parent | 71158a9840832aefde1c725b4adc56133dc30dfe (diff) | |
download | elgg-28de8d490b284551867be1153747c29a8d59b13c.tar.gz elgg-28de8d490b284551867be1153747c29a8d59b13c.tar.bz2 |
fixed minor display issue for album view when no tags
Diffstat (limited to 'views')
-rw-r--r-- | views/default/object/album.php | 4 |
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> |