BUGFIX: Don't break type if settings are not available

* E.g. if no TypoScript is included we still should have an array to not
  break method calls.
This commit is contained in:
Daniel Siepmann 2017-01-12 14:07:23 +01:00
parent c59ca504ca
commit 24deb93b4f
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4

View file

@ -48,6 +48,9 @@ class ConfigurationContainer implements ConfigurationContainerInterface
'SearchCore', 'SearchCore',
'search' 'search'
); );
if ($this->settings === null) {
$this->settings = [];
}
} }
/** /**