mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-24 06:14:25 +02:00
Save "none" instead of "null" when choosing to not to store preferences
refs #8234
This commit is contained in:
parent
2a543bb5ae
commit
359336243c
@ -52,7 +52,7 @@ class ApplicationConfigForm extends Form
|
|||||||
'multiOptions' => array(
|
'multiOptions' => array(
|
||||||
'ini' => $this->translate('File System (INI Files)'),
|
'ini' => $this->translate('File System (INI Files)'),
|
||||||
'db' => $this->translate('Database'),
|
'db' => $this->translate('Database'),
|
||||||
'null' => $this->translate('Don\'t Store Preferences')
|
'none' => $this->translate('Don\'t Store Preferences')
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
@ -66,7 +66,7 @@ class PreferencesPage extends Form
|
|||||||
if (Platform::hasMysqlSupport() || Platform::hasPostgresqlSupport()) {
|
if (Platform::hasMysqlSupport() || Platform::hasPostgresqlSupport()) {
|
||||||
$storageTypes['db'] = $this->translate('Database');
|
$storageTypes['db'] = $this->translate('Database');
|
||||||
}
|
}
|
||||||
$storageTypes['null'] = $this->translate('Don\'t Store Preferences');
|
$storageTypes['none'] = $this->translate('Don\'t Store Preferences');
|
||||||
|
|
||||||
$this->addElement(
|
$this->addElement(
|
||||||
'select',
|
'select',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user