Skip to content
Snippets Groups Projects
Commit 9862a4c2 authored by Seamus Lee's avatar Seamus Lee
Browse files

[REF] Fix Page Hook test on php8 by putting in guard into customDataBlock...

[REF] Fix Page Hook test on php8 by putting in guard into customDataBlock around the SubType variable
parent 12a29dde
Branches
Tags
No related merge requests found
......@@ -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});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment