diff options
author | Stephen Beaver <sbeaver@netgate.com> | 2016-02-04 20:51:25 -0500 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2016-02-04 20:51:51 -0500 |
commit | e1e1ab076b99a6cc47fb5fe1e5519a2e686eca45 (patch) | |
tree | 50e7ecd8727a53a7068a2fc6ee3dd2696b40a3ac /src/usr/local/www/firewall_rules_edit.php | |
parent | 151d15911e30825afdf7b09d6d36f234c6a16e8d (diff) | |
download | pfsense-e1e1ab076b99a6cc47fb5fe1e5519a2e686eca45.zip pfsense-e1e1ab076b99a6cc47fb5fe1e5519a2e686eca45.tar.gz |
Fixed #5841
Diffstat (limited to 'src/usr/local/www/firewall_rules_edit.php')
-rw-r--r-- | src/usr/local/www/firewall_rules_edit.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/usr/local/www/firewall_rules_edit.php b/src/usr/local/www/firewall_rules_edit.php index ba692bb..ad87e18 100644 --- a/src/usr/local/www/firewall_rules_edit.php +++ b/src/usr/local/www/firewall_rules_edit.php @@ -309,6 +309,7 @@ $dnqlist =& get_unique_dnqueue_list(); $a_gatewaygroups = return_gateway_groups_array(); if ($_POST) { + unset($input_errors); if (isset($a_filter[$id]['associated-rule-id'])) { @@ -913,7 +914,7 @@ if ($_POST) { array_splice($a_filter, $after+1, 0, array($filterent)); // Update the separators - $a_separators = &$config['filter']['separator'][$if]; + $a_separators = &$config['filter']['separator'][strtolower($if)]; for ($idx=0; isset($a_separators['sep' . $idx]); $idx++ ) { $seprow = substr($a_separators['sep' . $idx]['row']['0'], 2); |