mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +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);
|
push(@enabled_sids, $sid);
|
||||||
|
|
||||||
# Drop item from cgiparams hash.
|
# Drop item from cgiparams hash.
|
||||||
delete $cgiparams{$sid};
|
delete $cgiparams{$rulefile}{$sid};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@@ -173,7 +173,7 @@ if ($cgiparams{'RULESET'} eq $Lang::tr{'update'}) {
|
|||||||
push(@disabled_sids, $sid);
|
push(@disabled_sids, $sid);
|
||||||
|
|
||||||
# Drop item from cgiparams hash.
|
# Drop item from cgiparams hash.
|
||||||
delete $cgiparams{$sid};
|
delete $cgiparams{$rulefile}{$sid};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user