mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Redmine #5731 Error when setting various system log settings from factory default config
From PR #2350 By Phil Davis
This commit is contained in:
parent
d78a79ebb9
commit
8cc5e083fc
@ -585,7 +585,9 @@ function manage_log_code() {
|
||||
if (!$input_errors) {
|
||||
|
||||
# Clear out the specific log settings and leave only the applied settings to override the general logging options (global) settings.
|
||||
unset($config['syslog'][$specific_log]);
|
||||
if (isset($config['syslog'][$specific_log])) {
|
||||
unset($config['syslog'][$specific_log]);
|
||||
}
|
||||
|
||||
// Common to All Logs
|
||||
if ($cronorder != '') { # if not using the general logging options setting (global)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user