`PreferenceForm`: Use correct number of arguments for method `Preferences::get()`
This commit is contained in:
parent
58938f6636
commit
eff262cafd
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue