From c0e9d3b3479a4d9083389dbd1017f8a9b1810a73 Mon Sep 17 00:00:00 2001 From: yuri Date: Mon, 21 Jan 2019 12:54:00 +0200 Subject: [PATCH] fix --- 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 0595a986ea..f8655f254b 100644 --- a/application/Espo/ORM/EntityManager.php +++ b/application/Espo/ORM/EntityManager.php @@ -124,7 +124,7 @@ class EntityManager } if (empty($this->mappers[$className])) { - $this->mappers[$className] = new $className($this->getPDO(), $this->entityFactory, $this->getQuery(), $this); + $this->mappers[$className] = new $className($this->getPDO(), $this->entityFactory, $this->getQuery()); } return $this->mappers[$className]; }