Skip to content

Commit

Permalink
Merge pull request #35 from b13/bugfix/cache-service
Browse files Browse the repository at this point in the history
[BUGFIX] baseUrls variable is an array
  • Loading branch information
bmack authored Dec 6, 2023
2 parents 96705cf + a7914cb commit 1731240
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 1731240

Please sign in to comment.