From 18a0421eac569ec8d18b9668e4c521a45df5a577 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Sat, 21 May 2022 10:18:20 +1200 Subject: [PATCH] Remove always-true if-check --- 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 1d66be5885..2bf47d1c9b 100644 --- a/CRM/Contact/Import/Parser/Contact.php +++ b/CRM/Contact/Import/Parser/Contact.php @@ -483,7 +483,7 @@ class CRM_Contact_Import_Parser_Contact extends CRM_Import_Parser { //fixed CRM-4148 //now we create new contact in update/fill mode also. $contactID = NULL; - if ($createNewContact || ($this->_retCode != CRM_Import_Parser::NO_MATCH && $this->_updateWithId)) { + if ($createNewContact || ($this->_updateWithId)) { // @todo - there are multiple places where formatting is done that need consolidation. // This handles where the label has been passed in and it has gotten this far. // probably a bunch of hard-coded stuff could be removed to rely on this. -- 2.25.1