This commit is contained in:
yuri
2019-07-01 12:45:54 +03:00
parent 72ef137dbe
commit 0749bdc006
+2 -2
View File
@@ -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) {