aboutsummaryrefslogtreecommitdiff
path: root/mod/file
diff options
context:
space:
mode:
Diffstat (limited to 'mod/file')
-rw-r--r--mod/file/views/default/object/file.php6
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);