From e06d104e10a135a049c64cddbd5ad41390be79fa Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Mon, 14 Sep 2020 12:15:09 +0300 Subject: [PATCH] bc fix --- application/Espo/Core/ORM/Entity.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/application/Espo/Core/ORM/Entity.php b/application/Espo/Core/ORM/Entity.php index 8b67e5a4ed..f9f21ec482 100644 --- a/application/Espo/Core/ORM/Entity.php +++ b/application/Espo/Core/ORM/Entity.php @@ -142,7 +142,9 @@ class Entity extends BaseEntity public function loadLinkMultipleField(string $field, $columns = null) { if (!$this->hasRelation($field) || !$this->hasAttribute($field . 'Ids')) { - throw new LogicException("There's no link-multiple field '{$field}'."); + return; + // @todo Throw exception in 6.4. + // throw new LogicException("There's no link-multiple field '{$field}'."); } $select = ['id', 'name'];