Remove always-true-if
authorEileen McNaughton <emcnaughton@wikimedia.org>
Tue, 17 May 2022 23:42:38 +0000 (11:42 +1200)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Tue, 17 May 2022 23:42:38 +0000 (11:42 +1200)
CRM/Contact/Import/Parser/Contact.php

index fb11bdabe5a56c6967a5d7fccef48fc22b9b5527..6f1f5a0cef0df522a8e79c7b3fdd18cc4e31f1ce 100644 (file)
@@ -2352,9 +2352,7 @@ class CRM_Contact_Import_Parser_Contact extends CRM_Import_Parser {
         }
 
         if (!isset($params[$fieldName])) {
-          if (!isset($relatedContactKey)) {
-            $params[$fieldName] = $importedValue;
-          }
+          $params[$fieldName] = $importedValue;
         }
 
       }