Skip to content

Commit

Permalink
Fix that syslog or file config elements are not shown in case of no d…
Browse files Browse the repository at this point in the history
…efault
  • Loading branch information
Johannes Meyer committed Oct 17, 2014
1 parent 24b6274 commit 768d8da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/forms/Config/General/LoggingConfigForm.php
Expand Up @@ -59,7 +59,7 @@ public function createElements(array $formData)
);
}

if (isset($formData['logging_log']) && $formData['logging_log'] === 'syslog') {
if (false === isset($formData['logging_log']) || $formData['logging_log'] === 'syslog') {
$this->addElement(
'text',
'logging_application',
Expand Down

0 comments on commit 768d8da

Please sign in to comment.