Fix notice on skipTitle
authorEileen McNaughton <emcnaughton@wikimedia.org>
Sun, 21 Aug 2022 23:41:47 +0000 (11:41 +1200)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Sun, 21 Aug 2022 23:41:47 +0000 (11:41 +1200)
templates/CRM/Contact/Page/View/CustomDataView.tpl
templates/CRM/Contact/Page/View/Summary-tab.tpl

index 4cfd3cd8ccb46bcdb82279321d167b9c4fb7a8e1..b895d1cdd5317d5d45e22ba08a82fce7e3f0cffc 100644 (file)
@@ -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}
       <div class="customFieldGroup crm-collapsible{if !empty($cd_edit.collapse_display)} collapsed{/if} ui-corner-all {$cd_edit.name} crm-custom-set-block-{$customGroupId}">
         <div class="collapsible-title">
index 74410b2534667997dfcc37ee6429be476e275eaf..dba4d1c79fa6f76b3ea1264e20e813a7ceab204b 100644 (file)
     <div id="customFields">
       <div class="contact_panel">
         <div class="contactCardLeft">
-          {include file="CRM/Contact/Page/View/CustomDataView.tpl" side='1'}
+          {include file="CRM/Contact/Page/View/CustomDataView.tpl" side='1' skipTitle=false}
         </div><!--contactCardLeft-->
         <div class="contactCardRight">
-          {include file="CRM/Contact/Page/View/CustomDataView.tpl" side='0'}
+          {include file="CRM/Contact/Page/View/CustomDataView.tpl" side='0' skipTitle=false}
         </div>
 
         <div class="clear"></div>