diff --git a/modules/Vtiger/models/ModuleMeta.php b/modules/Vtiger/models/ModuleMeta.php index b083a16f1435eda2dc7fa60b3106f0cbbe9cc722..b8977e803770dfaca39d3c0599a54c07a4af024d 100644 --- a/modules/Vtiger/models/ModuleMeta.php +++ b/modules/Vtiger/models/ModuleMeta.php @@ -140,9 +140,8 @@ class Vtiger_ModuleMeta_Model extends Vtiger_Base_Model { $moduleFields = $this->getAccessibleFields($moduleName); $importableFields = array(); foreach($moduleFields as $fieldName => $fieldInstance) { - if(($this->isEditableField($fieldInstance) - && ($fieldInstance->getTableName() != 'vtiger_crmentity' || $fieldInstance->getColumnName() != 'modifiedby') - ) || ($fieldInstance->getUIType() == '70' && $fieldName != 'modifiedtime')) { + if(($this->isEditableField($fieldInstance))|| ($fieldInstance->getUIType() == 4) && ($fieldInstance->getTableName() != 'vtiger_crmentity' || $fieldInstance->getColumnName() != 'modifiedby') + || ($fieldInstance->getUIType() == '70' && $fieldName != 'modifiedtime')) { $importableFields[$fieldName] = $fieldInstance; } }