mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 16:24:04 +02:00
Fix that syslog or file config elements are not shown in case of no default
This commit is contained in:
parent
24b6274f01
commit
768d8da4f8
@ -59,7 +59,7 @@ class LoggingConfigForm extends Form
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isset($formData['logging_log']) && $formData['logging_log'] === 'syslog') {
|
if (false === isset($formData['logging_log']) || $formData['logging_log'] === 'syslog') {
|
||||||
$this->addElement(
|
$this->addElement(
|
||||||
'text',
|
'text',
|
||||||
'logging_application',
|
'logging_application',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user