mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-14 13:02:58 +02:00
ids.cgi: Drop enabled/disabled rules from cgiparams hash
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
This commit is contained in:
@@ -160,7 +160,7 @@ if ($cgiparams{'RULESET'} eq $Lang::tr{'update'}) {
|
||||
push(@enabled_sids, $sid);
|
||||
|
||||
# Drop item from cgiparams hash.
|
||||
delete $cgiparams{$sid};
|
||||
delete $cgiparams{$rulefile}{$sid};
|
||||
}
|
||||
}
|
||||
} else {
|
||||
@@ -173,7 +173,7 @@ if ($cgiparams{'RULESET'} eq $Lang::tr{'update'}) {
|
||||
push(@disabled_sids, $sid);
|
||||
|
||||
# Drop item from cgiparams hash.
|
||||
delete $cgiparams{$sid};
|
||||
delete $cgiparams{$rulefile}{$sid};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user