Skip to content

Commit

Permalink
Merge pull request #10736 from eileenmcnaughton/reg
Browse files Browse the repository at this point in the history
CRM-20950 Prt 2 Contact import mapping to wrong location type
  • Loading branch information
monishdeb authored Jul 24, 2017
2 parents 5b59f81 + 28557f5 commit 7e38353
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Contact/Import/ImportJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ public function runImport(&$form, $timeout = 55) {
$phoneTypes = CRM_Core_PseudoConstant::get('CRM_Core_DAO_Phone', 'phone_type_id');
$imProviders = CRM_Core_PseudoConstant::get('CRM_Core_DAO_IM', 'provider_id');
$websiteTypes = CRM_Core_PseudoConstant::get('CRM_Core_DAO_Website', 'website_type_id');
$locationTypes = array_merge(array('Primary' => ts('Primary')), CRM_Core_PseudoConstant::get('CRM_Core_DAO_Address', 'location_type_id'));
$locationTypes = array('Primary' => ts('Primary')) + CRM_Core_PseudoConstant::get('CRM_Core_DAO_Address', 'location_type_id');

foreach ($mapper as $key => $value) {

Expand Down

0 comments on commit 7e38353

Please sign in to comment.