mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Init syslog settings before using the array. Fixes #8905
This commit is contained in:
parent
3fd4f32c34
commit
508c66ace7
@ -106,6 +106,7 @@ if ($_POST['resetlogs'] == gettext("Reset Log Files")) {
|
||||
}
|
||||
}
|
||||
if (!$input_errors) {
|
||||
init_config_arr(array('syslog'));
|
||||
$config['syslog']['reverse'] = $_POST['reverse'] ? true : false;
|
||||
$config['syslog']['nentries'] = (int)$_POST['nentries'];
|
||||
$pconfig['nentries'] = $config['syslog']['nentries'];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user