From b97d76458846e23eac3b9f52a96370fc5006ca8a Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Mon, 19 Oct 2020 15:30:36 +0300 Subject: [PATCH] fix error msg --- application/Espo/ORM/BaseEntity.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/Espo/ORM/BaseEntity.php b/application/Espo/ORM/BaseEntity.php index 41f25479d3..b4516db0c5 100644 --- a/application/Espo/ORM/BaseEntity.php +++ b/application/Espo/ORM/BaseEntity.php @@ -175,7 +175,7 @@ class BaseEntity implements Entity // @todo Remove this. if ($this->hasRelation($name) && $this->id && $this->entityManager) { trigger_error( - "Accessing related records with Entity::get is deprecated. Use \$entityManager->getRelation(...)->find()", + "Accessing related records with Entity::get is deprecated. Use \$repository->getRelation(...)->find()", E_USER_DEPRECATED );