From a7914cb447d22ddb1b3a6a496f680dccf2939d53 Mon Sep 17 00:00:00 2001 From: Achim Fritz Date: Tue, 5 Dec 2023 16:37:20 +0100 Subject: [PATCH] [BUGFIX] baseUrls variable is an array --- Classes/ResourceStorageOperations/CacheService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/ResourceStorageOperations/CacheService.php b/Classes/ResourceStorageOperations/CacheService.php index e90e58d..faa009c 100644 --- a/Classes/ResourceStorageOperations/CacheService.php +++ b/Classes/ResourceStorageOperations/CacheService.php @@ -77,7 +77,7 @@ protected function collectAllPossibleBaseUrls(): array foreach ($sites as $site) { $baseUrls[] = $site->getBase()->getScheme() . '://' . $site->getBase()->getHost(); foreach ($site->getLanguages() as $siteLanguage) { - $baseUrls = $siteLanguage->getBase()->getScheme() . '://' . $siteLanguage->getBase()->getHost(); + $baseUrls[] = $siteLanguage->getBase()->getScheme() . '://' . $siteLanguage->getBase()->getHost(); } } return array_unique($baseUrls);