Skip to content

Commit

Permalink
[BUGFIX] baseUrls variable is an array
Browse files Browse the repository at this point in the history
  • Loading branch information
Achim Fritz committed Dec 5, 2023
1 parent 96705cf commit a7914cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/ResourceStorageOperations/CacheService.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit a7914cb

Please sign in to comment.