diff options
author | Seth Mos <seth.mos@dds.nl> | 2011-03-18 10:06:48 +0100 |
---|---|---|
committer | Seth Mos <seth.mos@dds.nl> | 2011-03-18 10:07:45 +0100 |
commit | 32d4db2e128bb736a2c3f1181b176bf4bfa1411b (patch) | |
tree | bba698d923e4128abc2ca1b1fc301f777b306842 /usr/local/www/firewall_nat_npt_edit.php | |
parent | 9498c8d7280f59b5ff15dd12b50dfd5ca3273c89 (diff) | |
download | pfsense-32d4db2e128bb736a2c3f1181b176bf4bfa1411b.zip pfsense-32d4db2e128bb736a2c3f1181b176bf4bfa1411b.tar.gz |
Fix edit bug that duplicated records.
Diffstat (limited to 'usr/local/www/firewall_nat_npt_edit.php')
-rw-r--r-- | usr/local/www/firewall_nat_npt_edit.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/firewall_nat_npt_edit.php b/usr/local/www/firewall_nat_npt_edit.php index e06cc13..3537186 100644 --- a/usr/local/www/firewall_nat_npt_edit.php +++ b/usr/local/www/firewall_nat_npt_edit.php @@ -268,7 +268,7 @@ external prefix."); <td width="22%" valign="top"> </td> <td width="78%"> <input name="Submit" type="submit" class="formbtn" value="<?=gettext("Save"); ?>"> <input type="button" class="formbtn" value="<?=gettext("Cancel"); ?>" onclick="history.back()"> - <?php if (isset($id) && $a_1to1[$id]): ?> + <?php if (isset($id) && $a_npt[$id]): ?> <input name="id" type="hidden" value="<?=htmlspecialchars($id);?>"> <?php endif; ?> </td> |