diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-12 21:56:52 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-12 21:56:52 +0000 |
commit | 59efd0b27c25fa0f759dbfd4ec29061d86b6c402 (patch) | |
tree | 2b9bcc61941addc0940aae245cd5562397c67f72 /views/default | |
parent | 2ba91af6ba0de6bfe4b4f9aa29aa1567fca23640 (diff) | |
download | elgg-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
Diffstat (limited to 'views/default')
-rw-r--r-- | views/default/layout/objects/list/body.php | 2 |
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>'; |