Skip to content

Commit

Permalink
Merge pull request #26377 from larssandergreen/Fix-PHP8-warning-on-De…
Browse files Browse the repository at this point in the history
…dupeFind

Fix PHP8 warning on DedupeFind
  • Loading branch information
demeritcowboy authored May 30, 2023
2 parents 538ff4c + 7a7ecd2 commit e742dd4
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 e742dd4

Please sign in to comment.