Fix that syslog or file config elements are not shown in case of no default

This commit is contained in:
Johannes Meyer 2014-10-17 13:11:25 +02:00
parent 24b6274f01
commit 768d8da4f8

View File

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