Skip to content

EspoCRM – Open Source CRM Application

remove bc

Yuri Kuznetsov572f939d9054
diff --git a/application/Espo/ORM/Defs/EntityDefs.php b/application/Espo/ORM/Defs/EntityDefs.php
index fbaa8c60a1..be865f17ac 100644
--- a/application/Espo/ORM/Defs/EntityDefs.php
+++ b/application/Espo/ORM/Defs/EntityDefs.php
@@ -360,7 +360,7 @@ class EntityDefs
private function loadAttribute(string $name): ?AttributeDefs
{
- $raw = $this->data[EntityParam::ATTRIBUTES][$name] ?? $this->data['fields'][$name] ?? null;
+ $raw = $this->data[EntityParam::ATTRIBUTES][$name] ?? null;
if (!$raw) {
return null;