From 59efd0b27c25fa0f759dbfd4ec29061d86b6c402 Mon Sep 17 00:00:00 2001 From: cash Date: Sat, 12 Feb 2011 21:56:52 +0000 Subject: 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 --- views/default/layout/objects/list/body.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'views/default/layout') 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 . '

'; -- cgit v1.2.3