diff options
author | NOYB <Al_Stu@Frontier.com> | 2016-01-04 10:14:42 -0800 |
---|---|---|
committer | NOYB <Al_Stu@Frontier.com> | 2016-01-04 10:44:10 -0800 |
commit | 8cc5e083fcaf84adb1e1a65ebce80b45b7bb4eef (patch) | |
tree | 94f5e979746c347fba5c8aa3c38f9bc474fb181a /src/usr/local | |
parent | d78a79ebb924b9a97c477179fb77e12ea6b3ef8f (diff) | |
download | pfsense-8cc5e083fcaf84adb1e1a65ebce80b45b7bb4eef.zip pfsense-8cc5e083fcaf84adb1e1a65ebce80b45b7bb4eef.tar.gz |
Redmine #5731 Error when setting various system log settings from factory default config
From PR #2350 By Phil Davis
Diffstat (limited to 'src/usr/local')
-rw-r--r-- | src/usr/local/www/status_logs_common.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/usr/local/www/status_logs_common.inc b/src/usr/local/www/status_logs_common.inc index b1c349f..58a1db5 100644 --- a/src/usr/local/www/status_logs_common.inc +++ b/src/usr/local/www/status_logs_common.inc @@ -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) |