From 24deb93b4f3b8d469c4c4e22e8390d6fa780d37d Mon Sep 17 00:00:00 2001 From: Daniel Siepmann Date: Thu, 12 Jan 2017 14:07:23 +0100 Subject: [PATCH] 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. --- Classes/Configuration/ConfigurationContainer.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Classes/Configuration/ConfigurationContainer.php b/Classes/Configuration/ConfigurationContainer.php index 56de674..fee781c 100644 --- a/Classes/Configuration/ConfigurationContainer.php +++ b/Classes/Configuration/ConfigurationContainer.php @@ -48,6 +48,9 @@ class ConfigurationContainer implements ConfigurationContainerInterface 'SearchCore', 'search' ); + if ($this->settings === null) { + $this->settings = []; + } } /**