diff options
author | Steve Beaver <sbeaver@netgate.com> | 2017-02-10 14:26:32 -0500 |
---|---|---|
committer | Steve Beaver <sbeaver@netgate.com> | 2017-02-10 14:26:32 -0500 |
commit | b92055596a099ebd9bea37039118c1c431cd0797 (patch) | |
tree | 706d40c4b89047d440eb5ea1e2256a393122f724 | |
parent | d07370763a637ad093a03b90736273a4d93e67bc (diff) | |
download | pfsense-b92055596a099ebd9bea37039118c1c431cd0797.zip pfsense-b92055596a099ebd9bea37039118c1c431cd0797.tar.gz |
GET/POST firewall_nat_1to1 bis
-rw-r--r-- | src/usr/local/www/firewall_nat_1to1_edit.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/usr/local/www/firewall_nat_1to1_edit.php b/src/usr/local/www/firewall_nat_1to1_edit.php index 8f5d705..832e9b9 100644 --- a/src/usr/local/www/firewall_nat_1to1_edit.php +++ b/src/usr/local/www/firewall_nat_1to1_edit.php @@ -64,9 +64,9 @@ if (isset($_POST['after'])) { $after = $_POST['after']; } -if (isset($_GET['dup'])) { - $id = $_GET['dup']; - $after = $_GET['dup']; +if (isset($_POST['dup'])) { + $id = $_POST['dup']; + $after = $_POST['dup']; } if (isset($id) && $a_1to1[$id]) { @@ -93,7 +93,7 @@ if (isset($id) && $a_1to1[$id]) { $pconfig['interface'] = "wan"; } -if (isset($_GET['dup'])) { +if (isset($_POST['dup'])) { unset($id); } |