Skip to content
Snippets Groups Projects
Unverified Commit f7772512 authored by Eileen McNaughton's avatar Eileen McNaughton Committed by GitHub
Browse files

Merge pull request #16858 from eileenmcnaughton/5.24

dev/core#1662 - Saved mappings doesn't work for all use cases
parents 120785f9 4bef4a25
No related branches found
No related tags found
No related merge requests found
......@@ -488,6 +488,7 @@ class CRM_Import_ImportProcessor {
*/
protected function getNameFromLabel($label) {
$titleMap = array_flip($this->getMetadataTitles());
$label = str_replace(' (match to contact)', '', $label);
return $titleMap[$label] ?? '';
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment