diff --git a/src/www/firewall_rules.php b/src/www/firewall_rules.php index d7f797066..9f099c269 100644 --- a/src/www/firewall_rules.php +++ b/src/www/firewall_rules.php @@ -267,15 +267,14 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') { } } +$selected_if = 'FloatingRules'; if (isset($_GET['if'])) { $selected_if = htmlspecialchars($_GET['if']); -} else { - $selected_if = "FloatingRules"; } + +$selected_category = []; if (isset($_GET['category'])) { $selected_category = !is_array($_GET['category']) ? array($_GET['category']) : $_GET['category']; -} else { - $selected_category = array(); } include("head.inc"); @@ -778,26 +777,22 @@ $( document ).ready(function() { + +?> - - - - - - + + + + - + @@ -901,19 +898,20 @@ $( document ).ready(function() { - - - - - + + + + +