diff options
author | Stephen Beaver <sbeaver@netgate.com> | 2015-11-19 10:59:17 -0500 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2015-11-19 10:59:44 -0500 |
commit | c2e566f479297257b94b5318aba6458c299d2d65 (patch) | |
tree | b13f02a9455a334379cfe2708eaa3c4ca70d8d42 /src | |
parent | 821a4351bf85b3934ba6ba2a8f2b91b2b2365a8e (diff) | |
download | pfsense-c2e566f479297257b94b5318aba6458c299d2d65.zip pfsense-c2e566f479297257b94b5318aba6458c299d2d65.tar.gz |
Fixed #5486
Diffstat (limited to 'src')
-rw-r--r-- | src/usr/local/www/firewall_nat.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/firewall_nat.php b/src/usr/local/www/firewall_nat.php index d685f5e..32215be 100644 --- a/src/usr/local/www/firewall_nat.php +++ b/src/usr/local/www/firewall_nat.php @@ -79,7 +79,7 @@ if (!is_array($config['nat']['rule'])) { $a_nat = &$config['nat']['rule']; /* update rule order, POST[rule] is an array of ordered IDs */ -if($_POST['order-store']) { +if(array_key_exists('order-store', $_POST)) { if (is_array($_POST['rule']) && !empty($_POST['rule'])) { $a_nat_new = array(); |