From b910dc480eeb21eb5cbf2dee1f234e5d510ac6fe Mon Sep 17 00:00:00 2001 From: Tim Mallezie Date: Wed, 13 May 2015 21:05:17 +0200 Subject: [PATCH] only show tag label when there are tags --- templates/CRM/Contact/Form/Edit/TagsAndGroups.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/CRM/Contact/Form/Edit/TagsAndGroups.tpl b/templates/CRM/Contact/Form/Edit/TagsAndGroups.tpl index b2043a4d62..dcd3079ba9 100644 --- a/templates/CRM/Contact/Form/Edit/TagsAndGroups.tpl +++ b/templates/CRM/Contact/Form/Edit/TagsAndGroups.tpl @@ -97,7 +97,7 @@ {$form.group.html} {/if} - {if !$type || $type eq 'tag'} + {if (!$type || $type eq 'tag') && $tree} {if $title}{$form.tag.label}{/if}
{include file="CRM/Contact/Form/Edit/Tagtree.tpl" level=1} -- 2.25.1