mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-19 19:15:22 +00:00
(legacy) firewall_rules.php wrong variable
This commit is contained in:
parent
1d43bced52
commit
48acede90b
@ -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()) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user