diff --git a/application/forms/Config/GeneralForm.php b/application/forms/Config/GeneralForm.php index ab3610ab8..3509ed7b9 100644 --- a/application/forms/Config/GeneralForm.php +++ b/application/forms/Config/GeneralForm.php @@ -412,10 +412,10 @@ class GeneralForm extends Form { $config = $this->getConfiguration(); if ($config->global === null) { - $config->global = new Zend_Config(array()); + $config->global = new Zend_Config(array(), true); } if ($config->preferences === null) { - $config->preferences = new Zend_Config(array()); + $config->preferences = new Zend_Config(array(), true); } $values = $this->getValues(); diff --git a/application/forms/Config/LoggingForm.php b/application/forms/Config/LoggingForm.php index c276ca1df..b0d970df8 100644 --- a/application/forms/Config/LoggingForm.php +++ b/application/forms/Config/LoggingForm.php @@ -192,10 +192,10 @@ class LoggingForm extends Form { $config = $this->getConfiguration(); if ($config->logging === null) { - $config->logging = new Zend_Config(array()); + $config->logging = new Zend_Config(array(), true); } if ($config->logging->debug === null) { - $config->logging->debug = new Zend_Config(array()); + $config->logging->debug = new Zend_Config(array(), true); } $values = $this->getValues(); diff --git a/library/Icinga/Web/Form.php b/library/Icinga/Web/Form.php index 3f2ee94e7..999dda8de 100644 --- a/library/Icinga/Web/Form.php +++ b/library/Icinga/Web/Form.php @@ -262,7 +262,7 @@ class Form extends Zend_Form public function getConfiguration() { if ($this->config === null) { - $this->config = new Zend_Config(array()); + $this->config = new Zend_Config(array(), true); } return $this->config; }