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

Merge branch '158396075' into 'master'

Fixes::158396075::Kaushik::When we import the calendar ,source is updating as crm fixed

See merge request vtiger/vtigercrm!1044
parents 29cb2570 ece2fcdb
No related branches found
No related tags found
No related merge requests found
......@@ -485,6 +485,7 @@ class Import_Data_Action extends Vtiger_Action_Controller {
if(!array_key_exists('visibility', $fieldData)){
$fieldData['visibility'] = $current_user->calendarsharedtype;
}
$fieldData['source'] = $this->recordSource;
foreach ($eventModuleFields as $fieldName => $fieldModel) {
if (stripos($fieldName, 'cf_') !== false) {
$moduleFields[$fieldName] = $fieldModel;
......
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