aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-12 21:56:52 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-12 21:56:52 +0000
commit59efd0b27c25fa0f759dbfd4ec29061d86b6c402 (patch)
tree2b9bcc61941addc0940aae245cd5562397c67f72
parent2ba91af6ba0de6bfe4b4f9aa29aa1567fca23640 (diff)
downloadelgg-59efd0b27c25fa0f759dbfd4ec29061d86b6c402.tar.gz
elgg-59efd0b27c25fa0f759dbfd4ec29061d86b6c402.tar.bz2
allow plugins to decline the addition of tags to their entity list view
git-svn-id: http://code.elgg.org/elgg/trunk@8176 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--views/default/layout/objects/list/body.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/layout/objects/list/body.php b/views/default/layout/objects/list/body.php
index 5f7fc74f9..6cbaa2c20 100644
--- a/views/default/layout/objects/list/body.php
+++ b/views/default/layout/objects/list/body.php
@@ -38,7 +38,7 @@ $subtitle = elgg_get_array_value('subtitle', $vars, '');
$content = elgg_get_array_value('content', $vars, '');
$tags = elgg_get_array_value('tags', $vars, '');
-if (!$tags) {
+if ($tags !== false) {
$tag_text = elgg_view('output/tags', array('tags' => $entity->tags));
if ($tag_text) {
$tags = '<p class="elgg-tags">' . $tag_text . '</p>';