Skip to content
Snippets Groups Projects
Commit d555a7e7 authored by Prasad's avatar Prasad
Browse files

Fixed: Reference record link resolution during import.

parent eef97955
No related branches found
No related tags found
No related merge requests found
No preview for this file type
......@@ -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;
......
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