Skip to content

Commit

Permalink
Fix PHP8 warning on DedupeFind
Browse files Browse the repository at this point in the history
  • Loading branch information
larssandergreen committed May 30, 2023
1 parent 85b3d15 commit 7a7ecd2
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions templates/CRM/Contact/Page/DedupeFind.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -313,13 +313,8 @@
var cacheKey = {/literal}'{$cacheKey|escape}'{literal};
var dataUrl = {/literal}"{crmURL p='civicrm/ajax/toggleDedupeSelect' h=0 q='snippet=4'}"{literal};
var rgid = {/literal}"{$rgid}"{literal};
var gid = {/literal}"{$gid}"{literal};
rgid = rgid.length > 0 ? rgid : 0;
gid = gid.length > 0 ? gid : 0;
CRM.$.post(dataUrl, {pnid: id, rgid: rgid, gid: gid, is_selected: is_selected, cacheKey : cacheKey}, function (data) {
CRM.$.post(dataUrl, {pnid: id, is_selected: is_selected, cacheKey : cacheKey}, function (data) {
// nothing to do for now
}, 'json');
}
Expand Down

0 comments on commit 7a7ecd2

Please sign in to comment.