]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
allow plugins to decline the addition of tags to their entity list view
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sat, 12 Feb 2011 21:56:52 +0000 (21:56 +0000)
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sat, 12 Feb 2011 21:56:52 +0000 (21:56 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@8176 36083f99-b078-4883-b0ff-0f9b5a30f544

views/default/layout/objects/list/body.php

index 5f7fc74f99d964713ee1c931664ef2707a2c5390..6cbaa2c20e22abf4cdd1bc174124ccda9a719164 100644 (file)
@@ -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>';