From 3f717e2561987fec70029fb419eb3101cec5fe7b Mon Sep 17 00:00:00 2001 From: eileen Date: Mon, 24 Jul 2017 21:56:43 +1200 Subject: [PATCH] CRM-20950 Contact import mapping to wrong location type --- CRM/Contact/Import/Form/MapField.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Contact/Import/Form/MapField.php b/CRM/Contact/Import/Form/MapField.php index 838efaac6e..38f13b8a89 100644 --- a/CRM/Contact/Import/Form/MapField.php +++ b/CRM/Contact/Import/Form/MapField.php @@ -249,7 +249,7 @@ class CRM_Contact_Import_Form_MapField extends CRM_Import_Form_MapField { $dataPatterns = $this->get('dataPatterns'); $hasLocationTypes = $this->get('fieldTypes'); - $this->_location_types = array_merge(array('Primary' => ts('Primary')), CRM_Core_PseudoConstant::get('CRM_Core_DAO_Address', 'location_type_id')); + $this->_location_types = array('Primary' => ts('Primary')) + CRM_Core_PseudoConstant::get('CRM_Core_DAO_Address', 'location_type_id'); $defaultLocationType = CRM_Core_BAO_LocationType::getDefault(); // Pass default location to js -- 2.25.1