diff options
author | Ermal <eri@pfsense.org> | 2010-12-14 23:03:59 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2010-12-14 23:03:59 +0000 |
commit | 622bd5e78b465c2bd981e4355de46946fd84d75e (patch) | |
tree | 55ac95ea6232131b6a9819e0818f91f3516cc4e4 /usr/local | |
parent | 1d164dd444cb1af57e0adef0b0bf46be263dcf41 (diff) | |
download | pfsense-622bd5e78b465c2bd981e4355de46946fd84d75e.zip pfsense-622bd5e78b465c2bd981e4355de46946fd84d75e.tar.gz |
Ticket #1043. Check for '' and not for 'default' since this is the default value of the select.
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/firewall_rules_edit.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/firewall_rules_edit.php b/usr/local/www/firewall_rules_edit.php index 1c6c3f0..019862f 100755 --- a/usr/local/www/firewall_rules_edit.php +++ b/usr/local/www/firewall_rules_edit.php @@ -364,7 +364,7 @@ if ($_POST) { } if (isset($_POST['floating']) && $_POST['pdnpipe'] != "none" && (empty($_POST['direction']) || $_POST['direction'] == "any")) $input_errors[] = gettext("You can not use limiters in Floating rules without choosing a direction."); - if (isset($_POST['floating']) && $_POST['gateway'] != "default" && (empty($_POST['direction']) || $_POST['direction'] == "any")) + if (isset($_POST['floating']) && $_POST['gateway'] != "" && (empty($_POST['direction']) || $_POST['direction'] == "any")) $input_errors[] = gettext("You can not use gateways in Floating rules without choosing a direction."); if ($_POST['pdnpipe'] && $_POST['pdnpipe'] != "none") { if ($_POST['dnpipe'] == "none" ) |