Skip to content

EspoCRM – Open Source CRM Application

cleanup

Yuri Kuznetsovf1427222cf8f
diff --git a/application/Espo/Core/Record/Service.php b/application/Espo/Core/Record/Service.php
index 9efe9cffb1..905a160354 100644
--- a/application/Espo/Core/Record/Service.php
+++ b/application/Espo/Core/Record/Service.php
@@ -440,7 +440,7 @@ class Service implements Crud,
}
if (!array_key_exists($link, $map)) {
- $map[$link] = $this->entityManager->getEntityById($foreignEntityType, $id);;
+ $map[$link] = $this->entityManager->getEntityById($foreignEntityType, $id);
}
$foreignEntity = $map[$link] ?? null;