diff options
author | Cash Costello <cash.costello@gmail.com> | 2012-06-02 14:54:44 -0400 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2012-06-02 14:54:44 -0400 |
commit | 0db4a78e6ac5b574e2f63309d4923e5ff4450800 (patch) | |
tree | 5d6f266d07859215c22c72f611c14aacd3fb0eab | |
parent | 8f515b3d22d4fb6403d078d066b265654fb9a0bd (diff) | |
download | elgg-0db4a78e6ac5b574e2f63309d4923e5ff4450800.tar.gz elgg-0db4a78e6ac5b574e2f63309d4923e5ff4450800.tar.bz2 |
Fixes #4437 allowing plugins to pass tag HTML to the view object/elements/summary
-rw-r--r-- | views/default/object/elements/summary.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/views/default/object/elements/summary.php b/views/default/object/elements/summary.php index 22db03f51..c0f3ad340 100644 --- a/views/default/object/elements/summary.php +++ b/views/default/object/elements/summary.php @@ -13,7 +13,7 @@ * @uses $vars['title'] Title link (optional) false = no title, '' = default * @uses $vars['metadata'] HTML for entity menu and metadata (optional) * @uses $vars['subtitle'] HTML for the subtitle (optional) - * @uses $vars['tags'] HTML for the tags (optional) + * @uses $vars['tags'] HTML for the tags (default is tags on entity, pass false for no tags) * @uses $vars['content'] HTML for the entity content (optional) */ @@ -39,7 +39,7 @@ $subtitle = elgg_extract('subtitle', $vars, ''); $content = elgg_extract('content', $vars, ''); $tags = elgg_extract('tags', $vars, ''); -if ($tags !== false) { +if ($tags === '') { $tags = elgg_view('output/tags', array('tags' => $entity->tags)); } |