Commit 6befc1d8 authored by Ad Schellevis's avatar Ad Schellevis Committed by Franco Fichtner

(legacy) firewall_rules.php wrong variable

(cherry picked from commit 48acede9)
parent 442120fb
......@@ -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()) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment