Skip to content

Commit

Permalink
Merge pull request #21344 from seamuslee001/fix_page_hook_test
Browse files Browse the repository at this point in the history
[REF] Fix Page Hook test on php8 by putting in guard into customDataB…
  • Loading branch information
seamuslee001 authored Sep 2, 2021
2 parents 2934bc6 + 9862a4c commit ef4563c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/CRM/common/customDataBlock.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<script type="text/javascript">
CRM.$(function($) {
{/literal}
{if $customDataSubType}
{if !empty($customDataSubType)}
CRM.buildCustomData('{$customDataType}', {$customDataSubType}, false, false, false, false, false, {$cid});
{else}
CRM.buildCustomData('{$customDataType}', false, false, false, false, false, false, {$cid});
Expand Down

0 comments on commit ef4563c

Please sign in to comment.