diff options
Diffstat (limited to 'usr/local/www/firewall_nat_out_edit.php')
-rw-r--r-- | usr/local/www/firewall_nat_out_edit.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/firewall_nat_out_edit.php b/usr/local/www/firewall_nat_out_edit.php index 98255d0..ffc41a3 100644 --- a/usr/local/www/firewall_nat_out_edit.php +++ b/usr/local/www/firewall_nat_out_edit.php @@ -63,9 +63,9 @@ if (is_numericint($_GET['id'])) if (isset($_POST['id']) && is_numericint($_POST['id'])) $id = $_POST['id']; -if (is_numericint($_GET['after'])) +if (is_numericint($_GET['after']) || $_GET['after'] == "-1") $after = $_GET['after']; -if (isset($_POST['after']) && is_numericint($_GET['after'])) +if (isset($_POST['after']) && (is_numericint($_POST['after']) || $_POST['after'] == "-1")) $after = $_POST['after']; if (isset($_GET['dup']) && is_numericint($_GET['dup'])) { |