diff --git a/application/Espo/Core/Utils/ClassFinder.php b/application/Espo/Core/Utils/ClassFinder.php index 104ff882f8..4c0648b2d3 100644 --- a/application/Espo/Core/Utils/ClassFinder.php +++ b/application/Espo/Core/Utils/ClassFinder.php @@ -81,10 +81,10 @@ class ClassFinder private function load(string $category, bool $subDirs = false): void { - $path = $this->buildPaths($category); + $paths = $this->buildPaths($category); $cacheFile = $this->buildCacheKey($category); - $this->dataHashMap[$category] = $this->classMap->getData($path, $cacheFile, null, $subDirs); + $this->dataHashMap[$category] = $this->classMap->getData($paths, $cacheFile, null, $subDirs); } private function buildPaths(string $category): array