diff --git a/application/Espo/Core/Utils/Layout.php b/application/Espo/Core/Utils/Layout.php index 549cdcbd11..ca10207681 100644 --- a/application/Espo/Core/Utils/Layout.php +++ b/application/Espo/Core/Utils/Layout.php @@ -98,10 +98,7 @@ class Layout return Json::encode($data); } - $filePath = Util::concatPath( - $this->defaultPath, - $name . '.json' - ); + $filePath = $this->defaultPath . '/' . $name . '.json'; if (!$this->fileManager->isFile($filePath)) { return null;