diff --git a/pkg/vtiger/modules/Import/modules/Import/actions/Data.php b/pkg/vtiger/modules/Import/modules/Import/actions/Data.php index b1c64ce239fdae4bfeadc6ca54a1f9abfd6e799a..7bb7889664e439222584742a36e461f833a6f168 100644 --- a/pkg/vtiger/modules/Import/modules/Import/actions/Data.php +++ b/pkg/vtiger/modules/Import/modules/Import/actions/Data.php @@ -765,11 +765,9 @@ class Import_Data_Action extends Vtiger_Action_Controller { $_REQUEST['cur_'.$this->lineitem_currency_id.'_check'] = 1; } $fieldData['currency_id'] = $this->lineitem_currency_id; - - + // to save Source of Record while Creating + $fieldData['source'] = $this->recordSource; } - // to save Source of Record while Creating - $fieldData['source'] = $this->recordSource; if ($fieldData != null && $checkMandatoryFieldValues) { foreach ($moduleFields as $fieldName => $fieldInstance) { if ((($fieldData[$fieldName] == '') || ($fieldData[$fieldName] == null)) && $fieldInstance->isMandatory()) {