From c2e566f479297257b94b5318aba6458c299d2d65 Mon Sep 17 00:00:00 2001 From: Stephen Beaver Date: Thu, 19 Nov 2015 10:59:17 -0500 Subject: Fixed #5486 --- src/usr/local/www/firewall_nat.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/usr/local/www') 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(); -- cgit v1.1