From 013095991cfffe3a3e5caa54041f0203a2fd3983 Mon Sep 17 00:00:00 2001 From: Bill Marquette Date: Sat, 21 May 2005 03:37:35 +0000 Subject: copy/paste buglet...a_out, not a_nat --- usr/local/www/firewall_nat_out_edit.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'usr/local/www/firewall_nat_out_edit.php') diff --git a/usr/local/www/firewall_nat_out_edit.php b/usr/local/www/firewall_nat_out_edit.php index 807efab..7c68eed 100755 --- a/usr/local/www/firewall_nat_out_edit.php +++ b/usr/local/www/firewall_nat_out_edit.php @@ -169,13 +169,13 @@ if ($_POST) { if (isset($_POST['destination_not']) && $ext != "any") $natent['destination']['not'] = true; - if (isset($id) && $a_nat[$id]) - $a_nat[$id] = $natent; + if (isset($id) && $a_out[$id]) + $a_out[$id] = $natent; else { if (is_numeric($after)) - array_splice($a_nat, $after+1, 0, array($natent)); + array_splice($a_out, $after+1, 0, array($natent)); else - $a_nat[] = $natent; + $a_out[] = $natent; } touch($d_natconfdirty_path); -- cgit v1.1