`PreferenceForm`: Use correct number of arguments for method `Preferences::get()`

This commit is contained in:
raviks789 2023-08-15 10:39:11 +02:00
parent 58938f6636
commit eff262cafd
1 changed files with 1 additions and 1 deletions

View File

@ -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