mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-19 19:15:22 +00:00
firewall_rules.php: cleanup
This commit is contained in:
parent
646628e593
commit
2bed9fa877
@ -304,7 +304,6 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
|
||||
}
|
||||
write_config();
|
||||
mark_subsystem_dirty('filter');
|
||||
//header(url_safe('Location: /firewall_rules.php?if=%s', array($current_if)));
|
||||
$response = array("id" => $id);
|
||||
$response["new_label"] = isset($a_filter[$id]['log']) ? gettext("Disable Log") : gettext("Enable Log");
|
||||
$response["new_state"] = isset($a_filter[$id]['log']) ;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user