diff options
author | heper <heper@users.noreply.github.com> | 2015-11-05 18:27:53 +0100 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2015-11-05 15:28:10 -0500 |
commit | 7f9a679fa8350d2bc19d323fb39662046128f666 (patch) | |
tree | a16e9d0b6abc44c48c2a59039e44420976ac258c /src/usr/local/www | |
parent | d6f92b70c0277c8c4e861159eedd46e640162407 (diff) | |
download | pfsense-7f9a679fa8350d2bc19d323fb39662046128f666.zip pfsense-7f9a679fa8350d2bc19d323fb39662046128f666.tar.gz |
proposed fix for Bug #5375
value passed by checkbox was "yes" when checked, instead of "Block" / "Pass"
Diffstat (limited to 'src/usr/local/www')
-rw-r--r-- | src/usr/local/www/diag_logs_filter.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/usr/local/www/diag_logs_filter.php b/src/usr/local/www/diag_logs_filter.php index 00c38ba..43d8825 100644 --- a/src/usr/local/www/diag_logs_filter.php +++ b/src/usr/local/www/diag_logs_filter.php @@ -121,7 +121,6 @@ if ($filterlogentries_submit) { $actpass = getGETPOSTsettingvalue('actpass', null); $actblock = getGETPOSTsettingvalue('actblock', null); - $filterfieldsarray['act'] = str_replace(" ", " ", trim($actpass . " " . $actblock)); $filterfieldsarray['act'] = $filterfieldsarray['act'] != "" ? $filterfieldsarray['act'] : 'All'; $filterfieldsarray['time'] = getGETPOSTsettingvalue('filterlogentries_time', null); @@ -238,7 +237,8 @@ if (!isset($config['syslog']['rawfilter'])) { // Advanced log filter form 'actpass', 'Pass', 'Pass', - in_arrayi('Pass', $Include_Act) + in_arrayi('Pass', $Include_Act), + 'Pass' )); $group->add(new Form_Input( @@ -277,7 +277,8 @@ if (!isset($config['syslog']['rawfilter'])) { // Advanced log filter form 'actblock', 'Block', 'Block', - in_arrayi('Block', $Include_Act) + in_arrayi('Block', $Include_Act), + 'Block' )); $group->add(new Form_Input( |