Skip to content

Commit

Permalink
[BUGFIX] Fix TypeError in TYPO3 9
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Chavaillaz committed Apr 17, 2020
1 parent 3045b5e commit 41c4e0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Typo3SiteConfiguration.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ protected function getAllSiteConfigurationFromFiles(bool $useCache = true): arra
{
// Check if the data is already cached
$siteConfiguration = $useCache ? $this->getCache()->require($this->cacheIdentifier) : false;
if ($siteConfiguration !== false) {
if ($siteConfiguration !== false && $siteConfiguration !== null) {
return $siteConfiguration;
}
$finder = new Finder();
Expand Down

0 comments on commit 41c4e0e

Please sign in to comment.