diff --git a/CRM/Import/Parser.php b/CRM/Import/Parser.php index 63127ac0739c..f31719f69210 100644 --- a/CRM/Import/Parser.php +++ b/CRM/Import/Parser.php @@ -205,15 +205,7 @@ public function isComplete() :bool { * @return string */ protected function getContactType(): string { - if (!$this->_contactType) { - $contactTypeMapping = [ - 'Individual' => 'Individual', - 'Household' => 'Household', - 'Organization' => 'Organization', - ]; - $this->_contactType = $contactTypeMapping[$this->getSubmittedValue('contactType')]; - } - return $this->_contactType; + return $this->getSubmittedValue('contactType'); } /**