X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FImport%2FForm%2FMapField.php;h=41fe9a6da53d457e14c8e582144196f2b10757cc;hb=61194d4569ead97def4f2a91657bf2125d3e8cc5;hp=31212c0deeaee668dac2689f43d2ced3db5de316;hpb=8250d5d1b6effc012a0ae8c4b0ce194ac89a8152;p=civicrm-core.git diff --git a/CRM/Import/Form/MapField.php b/CRM/Import/Form/MapField.php index 31212c0dee..41fe9a6da5 100644 --- a/CRM/Import/Form/MapField.php +++ b/CRM/Import/Form/MapField.php @@ -180,7 +180,7 @@ abstract class CRM_Import_Form_MapField extends CRM_Core_Form { * Message if insufficient fields are present. Empty string otherwise. */ protected static function validateRequiredContactMatchFields(string $contactType, array $importKeys): string { - [$ruleFields, $threshold] = CRM_Dedupe_BAO_RuleGroup::dedupeRuleFieldsWeight([ + [$ruleFields, $threshold] = CRM_Dedupe_BAO_DedupeRuleGroup::dedupeRuleFieldsWeight([ 'used' => 'Unsupervised', 'contact_type' => $contactType, ]);