Skip to content

EspoCRM – Open Source CRM Application

Ref

Yuriia44112880499
diff --git a/application/Espo/Tools/Import/Import.php b/application/Espo/Tools/Import/Import.php
index c299d5bf6c..22a5010cb2 100644
--- a/application/Espo/Tools/Import/Import.php
+++ b/application/Espo/Tools/Import/Import.php
@@ -501,7 +501,7 @@ class Import
$isNew = $entity->isNew();
- $entity->set($params->getDefaultValues());
+ $entity->setMultiple($params->getDefaultValues());
// Values are not supposed to be sanitized with the field Sanitizer.
$valueMap = $this->prepareRowValueMap($attributeList, $row);