diff --git a/application/forms/PreferenceForm.php b/application/forms/PreferenceForm.php index 23a759464..7adbda027 100644 --- a/application/forms/PreferenceForm.php +++ b/application/forms/PreferenceForm.php @@ -100,7 +100,7 @@ class PreferenceForm extends Form $defaultTheme = Config::app()->get('themes', 'default', StyleSheet::DEFAULT_THEME); $this->preferences = new Preferences($this->store ? $this->store->load() : array()); - $webPreferences = $this->preferences->get('icingaweb', array()); + $webPreferences = $this->preferences->get('icingaweb'); foreach ($this->getValues() as $key => $value) { if ($value === '' || $value === null