From f62bdc0dd65a265334b08b013af47ba3968c1f68 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Mon, 22 Aug 2022 11:41:47 +1200 Subject: [PATCH] Fix notice on skipTitle --- templates/CRM/Contact/Page/View/CustomDataView.tpl | 2 +- templates/CRM/Contact/Page/View/Summary-tab.tpl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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}