Commit 48acede9 authored by Ad Schellevis's avatar Ad Schellevis

(legacy) firewall_rules.php wrong variable

parent 1d43bced
...@@ -94,7 +94,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') { ...@@ -94,7 +94,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
// move selected rules // move selected rules
if (!isset($id)) { if (!isset($id)) {
// if rule not set/found, move to end // 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']); $a_filter = legacy_move_config_list_items($a_filter, $id, $pconfig['rule']);
if (write_config()) { 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