From 0749bdc006d46b2ac086993b1df4eb12bed430cc Mon Sep 17 00:00:00 2001 From: yuri Date: Mon, 1 Jul 2019 12:45:54 +0300 Subject: [PATCH] cs fix --- application/Espo/Core/Portal/Application.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/Espo/Core/Portal/Application.php b/application/Espo/Core/Portal/Application.php index 6019953cc2..5c3498c98e 100644 --- a/application/Espo/Core/Portal/Application.php +++ b/application/Espo/Core/Portal/Application.php @@ -50,9 +50,9 @@ class Application extends \Espo\Core\Application $portal = $this->getContainer()->get('entityManager')->getEntity('Portal', $portalId); if (!$portal) { - $portal = $this->getContainer()->get('entityManager')->getRepository('Portal')->where(array( + $portal = $this->getContainer()->get('entityManager')->getRepository('Portal')->where([ 'customId' => $portalId - ))->findOne(); + ])->findOne(); } if (!$portal) {