projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
120785f
)
dev/core#1662 - Saved mappings doesn't work for all use cases
author
Jitendra Purohit
<jitendra@fuzion.co.nz>
Thu, 19 Mar 2020 10:29:41 +0000
(15:59 +0530)
committer
eileen
<emcnaughton@wikimedia.org>
Thu, 19 Mar 2020 20:57:41 +0000
(09:57 +1300)
CRM/Import/ImportProcessor.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Import/ImportProcessor.php
b/CRM/Import/ImportProcessor.php
index 79ddc3b640e357b5a8974f71f6a861ca61792a3c..be909595e7e9d542763ab7b092a1c358a7158837 100644
(file)
--- a/
CRM/Import/ImportProcessor.php
+++ b/
CRM/Import/ImportProcessor.php
@@
-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] ?? '';
}