diff options
Diffstat (limited to 'src/usr/local/www/status_logs_common.inc')
-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) |