Skip to content

Commit

Permalink
Merge pull request #24338 from eileenmcnaughton/smarty_skip_title
Browse files Browse the repository at this point in the history
Fix notice on skipTitle
  • Loading branch information
demeritcowboy authored Aug 23, 2022
2 parents 0ea48af + f62bdc0 commit 8f2214b
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 8f2214b

Please sign in to comment.