From 48acede90b951e711a6d587534bc6ee9f8224344 Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Mon, 30 Nov 2015 17:04:28 +0000 Subject: [PATCH] (legacy) firewall_rules.php wrong variable --- src/www/firewall_rules.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/www/firewall_rules.php b/src/www/firewall_rules.php index 8b21a0bcf..90d535710 100644 --- a/src/www/firewall_rules.php +++ b/src/www/firewall_rules.php @@ -94,7 +94,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') { // move selected rules if (!isset($id)) { // if rule not set/found, move to end - $id = count($a_nat); + $id = count($a_filter); } $a_filter = legacy_move_config_list_items($a_filter, $id, $pconfig['rule']); if (write_config()) {