From 8f3123467f502ef41f99044caed5b0d8857cc90f Mon Sep 17 00:00:00 2001 From: Bill Marquette Date: Sat, 11 Jun 2005 03:09:10 +0000 Subject: Fix rule duplication bug here too --- usr/local/www/firewall_nat_out_edit.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/usr/local/www/firewall_nat_out_edit.php b/usr/local/www/firewall_nat_out_edit.php index df85b25..68d10af 100755 --- a/usr/local/www/firewall_nat_out_edit.php +++ b/usr/local/www/firewall_nat_out_edit.php @@ -68,6 +68,9 @@ if (isset($id) && $a_out[$id]) { $pconfig['interface'] = "wan"; } +if (isset($_GET['dup'])) + unset($id); + if ($_POST) { if ($_POST['destination_type'] == "any") { -- cgit v1.1