aboutsummaryrefslogtreecommitdiff
path: root/views/default/layout
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/layout')
-rw-r--r--views/default/layout/objects/list/body.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/views/default/layout/objects/list/body.php b/views/default/layout/objects/list/body.php
index 187cc9690..ef62df198 100644
--- a/views/default/layout/objects/list/body.php
+++ b/views/default/layout/objects/list/body.php
@@ -39,10 +39,7 @@ $content = elgg_extract('content', $vars, '');
$tags = elgg_extract('tags', $vars, '');
if ($tags !== false) {
- $tag_text = elgg_view('output/tags', array('tags' => $entity->tags));
- if ($tag_text) {
- $tags = '<p class="elgg-tags">' . $tag_text . '</p>';
- }
+ $tags = elgg_view('output/tags', array('tags' => $entity->tags));
}
if ($metadata) {