diff options
author | jim-p <jimp@netgate.com> | 2018-11-05 14:57:33 -0500 |
---|---|---|
committer | jim-p <jimp@netgate.com> | 2018-11-05 14:58:33 -0500 |
commit | 5dea6c81eadad9e449155af73b1f120ddc1a4807 (patch) | |
tree | 0208c78584920442ab41a01aa3dbdde883a4b059 | |
parent | 7f40e4a9b5e054357ece0e762e6ced1667487e72 (diff) | |
download | pfsense-5dea6c81eadad9e449155af73b1f120ddc1a4807.zip pfsense-5dea6c81eadad9e449155af73b1f120ddc1a4807.tar.gz |
Prevent PHP error when saving log config. Fixes #9095
(cherry picked from commit 4c4e294b0f1523827fa21066521674a435c8f670)
-rw-r--r-- | src/usr/local/www/status_logs_common.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/usr/local/www/status_logs_common.inc b/src/usr/local/www/status_logs_common.inc index f1c9954..dc36373 100644 --- a/src/usr/local/www/status_logs_common.inc +++ b/src/usr/local/www/status_logs_common.inc @@ -658,6 +658,7 @@ function manage_log_code() { if (isset($config['syslog'][$specific_log])) { unset($config['syslog'][$specific_log]); } + init_config_arr(array('syslog', $specific_log)); // Common to All Logs if ($cronorder != '') { # if not using the general logging options setting (global) |