else {
$savedMapping = $this->get('savedMapping');
- list($mappingName, $mappingContactType, $mappingLocation, $mappingPhoneType, $mappingRelation) = CRM_Core_BAO_Mapping::getMappingFields($savedMapping);
+ list($mappingName) = CRM_Core_BAO_Mapping::getMappingFields($savedMapping);
$mappingName = $mappingName[1];
- $mappingContactType = $mappingContactType[1];
- $mappingLocation = $mappingLocation['1'] ?? NULL;
- $mappingPhoneType = $mappingPhoneType['1'] ?? NULL;
- $mappingRelation = $mappingRelation['1'] ?? NULL;
//mapping is to be loaded from database