From 57f4980802f274fe042d9a62c212d83bb18cc76d Mon Sep 17 00:00:00 2001 From: yuri Date: Thu, 29 Mar 2018 13:39:12 +0300 Subject: [PATCH] fix bc --- application/Espo/ORM/EntityManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/Espo/ORM/EntityManager.php b/application/Espo/ORM/EntityManager.php index 809bfe57b9..7f7d508128 100644 --- a/application/Espo/ORM/EntityManager.php +++ b/application/Espo/ORM/EntityManager.php @@ -182,7 +182,7 @@ class EntityManager public function getRepository($name) { if (!$this->hasRepository($name)) { - throw new Error("ORM: Repository '{$name}' does not exist."); + // TODO Throw error } if (empty($this->repositoryHash[$name])) {