diff --git a/templates/CRM/Contact/Page/View/CustomDataView.tpl b/templates/CRM/Contact/Page/View/CustomDataView.tpl index 4cfd3cd8ccb4..b895d1cdd531 100644 --- a/templates/CRM/Contact/Page/View/CustomDataView.tpl +++ b/templates/CRM/Contact/Page/View/CustomDataView.tpl @@ -12,7 +12,7 @@ {foreach from=$viewCustomData item=customValues key=customGroupId} {assign var="cgcount" value=1} {assign var="count" value=$customGroupCount%2} - {if ($count eq $side) or !empty($skipTitle)} + {if ($count eq $side) or $skipTitle} {foreach from=$customValues item=cd_edit key=cvID}
diff --git a/templates/CRM/Contact/Page/View/Summary-tab.tpl b/templates/CRM/Contact/Page/View/Summary-tab.tpl index 74410b253466..dba4d1c79fa6 100644 --- a/templates/CRM/Contact/Page/View/Summary-tab.tpl +++ b/templates/CRM/Contact/Page/View/Summary-tab.tpl @@ -137,10 +137,10 @@
- {include file="CRM/Contact/Page/View/CustomDataView.tpl" side='1'} + {include file="CRM/Contact/Page/View/CustomDataView.tpl" side='1' skipTitle=false}
- {include file="CRM/Contact/Page/View/CustomDataView.tpl" side='0'} + {include file="CRM/Contact/Page/View/CustomDataView.tpl" side='0' skipTitle=false}