Skip to content

Commit

Permalink
Fix notice on skipTitle
Browse files Browse the repository at this point in the history
  • Loading branch information
eileenmcnaughton committed Aug 21, 2022
1 parent 3b85809 commit f62bdc0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion templates/CRM/Contact/Page/View/CustomDataView.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down
4 changes: 2 additions & 2 deletions templates/CRM/Contact/Page/View/Summary-tab.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,10 @@
<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>
Expand Down

0 comments on commit f62bdc0

Please sign in to comment.