From 036ad99ba6510cdd613a69f5e9cb8f2801c82aaf Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Sun, 2 Aug 2020 13:45:32 +0300 Subject: [PATCH] fix deprecation --- 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 d30dc315f9..bae80af103 100644 --- a/application/Espo/ORM/EntityManager.php +++ b/application/Espo/ORM/EntityManager.php @@ -118,7 +118,7 @@ class EntityManager public function getMapper($name) { - if ($name{0} == '\\') { + if ($name[0] == '\\') { $className = $name; } else { $className = $this->getMapperClassName($name);