diff options
-rw-r--r-- | src/usr/local/www/firewall_rules.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/usr/local/www/firewall_rules.php b/src/usr/local/www/firewall_rules.php index 23a2c29..aff201a 100644 --- a/src/usr/local/www/firewall_rules.php +++ b/src/usr/local/www/firewall_rules.php @@ -174,10 +174,6 @@ if ($_POST['apply']) { clear_subsystem_dirty('filter'); } -if ($_POST) { - $pconfig = $_POST; -} - if ($_POST['act'] == "del") { if ($a_filter[$_POST['id']]) { if (!empty($a_filter[$_POST['id']]['associated-rule-id'])) { @@ -371,6 +367,7 @@ $columns_in_table = 13; </style> <form method="post"> + <input name="if" id="if" type="hidden" value="<?=$if?>" /> <div class="panel panel-default"> <div class="panel-heading"><h2 class="panel-title"><?=gettext("Rules (Drag to Change Order)")?></h2></div> <div id="mainarea" class="table-responsive panel-body"> |