diff --git a/application/Espo/ORM/BaseEntity.php b/application/Espo/ORM/BaseEntity.php index 6e218b20d5..357c698470 100644 --- a/application/Espo/ORM/BaseEntity.php +++ b/application/Espo/ORM/BaseEntity.php @@ -337,7 +337,7 @@ class BaseEntity implements Entity $value = $this->fetchedValuesContainer[$attribute] ?? null; if ($value === null) { - return $value; + return null; } $type = $this->getAttributeType($attribute);