Merge pull request #22160 from colemanw/navigationPermission
[civicrm-core.git] / CRM / Import / ImportProcessor.php
index 514c4c6bbc3a1f7626393d03ea738d38f8537cfd..27508e0aea17170f0993bdf9d7dca212e1ba5d24 100644 (file)
@@ -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] ?? '';
   }