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

Merge branch '158300385' into 'master'

#Fixes::158300385::madhusr::import the records,source field is updating with the 'WEBSERVICE'

See merge request vtiger/vtigercrm!1017
parents 5508c800 f0b45cf9
No related branches found
No related tags found
No related merge requests found
......@@ -765,9 +765,11 @@ 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()) {
......
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