Skip to content

EspoCRM – Open Source CRM Application

ignore password

Yurii9ca71c91bf16
diff --git a/application/Espo/Core/Record/Duplicator/EntityDuplicator.php b/application/Espo/Core/Record/Duplicator/EntityDuplicator.php
index 50eaec63f7..8134778614 100644
--- a/application/Espo/Core/Record/Duplicator/EntityDuplicator.php
+++ b/application/Espo/Core/Record/Duplicator/EntityDuplicator.php
@@ -134,7 +134,15 @@ class EntityDuplicator
{
$type = $fieldDefs->getType();
- if (in_array($type, [FieldType::AUTOINCREMENT, FieldType::NUMBER, FieldType::LINK_ONE])) {
+ if (
+ in_array($type, [
+ FieldType::AUTOINCREMENT,
+ FieldType::NUMBER,
+ FieldType::LINK_ONE,
+ // Additional measure. It's not fetched.
+ FieldType::PASSWORD,
+ ])
+ ) {
return true;
}