From b011a75ffd2d2c5199e2aba860ca072f5eb59397 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Sat, 21 May 2022 21:29:02 +1200 Subject: [PATCH] Fix unreleased regression from strict typing --- CRM/Contact/Import/Parser/Contact.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Contact/Import/Parser/Contact.php b/CRM/Contact/Import/Parser/Contact.php index 2364e68631..ab4f54997a 100644 --- a/CRM/Contact/Import/Parser/Contact.php +++ b/CRM/Contact/Import/Parser/Contact.php @@ -2928,7 +2928,7 @@ class CRM_Contact_Import_Parser_Contact extends CRM_Import_Parser { // Time to see if we can find an existing contact ID to make this an update // not a create. if ($extIDMatch || $this->isUpdateExistingContacts()) { - return $this->getPossibleContactMatch($params, $extIDMatch, $this->getSubmittedValue('dedupe_rule_id')); + return $this->getPossibleContactMatch($params, $extIDMatch, $this->getSubmittedValue('dedupe_rule_id') ?: NULL); } return NULL; } -- 2.25.1