diff --git a/packages/vtiger/mandatory/Import.zip b/packages/vtiger/mandatory/Import.zip index 534b5e24ab4bc4db96a736f57c59dbc005a829c4..a5ab5cc482a2ecb9de2f898af15452dc9c48576d 100644 Binary files a/packages/vtiger/mandatory/Import.zip and b/packages/vtiger/mandatory/Import.zip differ diff --git a/pkg/vtiger/modules/Import/modules/Import/actions/Data.php b/pkg/vtiger/modules/Import/modules/Import/actions/Data.php index aaebd952cd56c2d366ddca060e3b6cb71c273b19..df0779552cb0ced4722c15167ef168075af31bed 100644 --- a/pkg/vtiger/modules/Import/modules/Import/actions/Data.php +++ b/pkg/vtiger/modules/Import/modules/Import/actions/Data.php @@ -411,7 +411,7 @@ class Import_Data_Action extends Vtiger_Action_Controller { if (count($fieldValueDetails) > 1) { $referenceModuleName = trim($fieldValueDetails[0]); $entityLabel = trim($fieldValueDetails[1]); - $entityId = getEntityId($referenceModuleName, $entityLabel); + $entityId = getEntityId($referenceModuleName, decode_html($entityLabel)); } else { $referencedModules = $fieldInstance->getReferenceList(); $entityLabel = $fieldValue; @@ -426,7 +426,7 @@ class Import_Data_Action extends Vtiger_Action_Controller { }elseif ($referenceModule == 'Currency') { $referenceEntityId = getCurrencyId($entityLabel); } else { - $referenceEntityId = getEntityId($referenceModule, $entityLabel); + $referenceEntityId = getEntityId($referenceModule, decode_html($entityLabel)); } if ($referenceEntityId != 0) { $entityId = $referenceEntityId;