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
Forum https://forum.pfsense.org/index.php?topic=104762.0
This commit is contained in:
parent
14c49a5f22
commit
e80934cd3e
@ -191,7 +191,9 @@ if ($save_settings) {
|
||||
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]);
|
||||
}
|
||||
|
||||
# All
|
||||
if ($cronorder != '') { # if not using the general logging options setting (global)
|
||||
|
||||
@ -213,7 +213,9 @@ if ($save_settings) {
|
||||
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]);
|
||||
}
|
||||
|
||||
# All
|
||||
if ($cronorder != '') { # if not using the general logging options setting (global)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user