diff options
Diffstat (limited to 'mod/file/views/default')
-rw-r--r-- | mod/file/views/default/object/file.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/mod/file/views/default/object/file.php b/mod/file/views/default/object/file.php index 1d3aa7140..89367feb3 100644 --- a/mod/file/views/default/object/file.php +++ b/mod/file/views/default/object/file.php @@ -34,11 +34,7 @@ $file_icon = elgg_view('file/icon', array( 'size' => 'small' )); -if ($file->tags) { - $tags = "<p class=\"elgg-tags\">" . elgg_view('output/tags', array('tags' => $file->tags)) . "</p>"; -} else { - $tags = ""; -} +$tags = elgg_view('output/tags', array('tags' => $file->tags)); $date = elgg_view_friendly_time($file->time_created); $comments_count = elgg_count_comments($file); |