From: cash Date: Sat, 12 Feb 2011 21:56:52 +0000 (+0000) Subject: allow plugins to decline the addition of tags to their entity list view X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=59efd0b27c25fa0f759dbfd4ec29061d86b6c402;p=lorea%2Felgg.git 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 --- 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 = '

' . $tag_text . '

';