diff options
author | Ermal Luçi <eri@pfsense.org> | 2009-10-01 15:29:53 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2009-10-01 15:29:53 +0000 |
commit | d5b42e6f781721a1f7d6138b806cac9cb11e2d91 (patch) | |
tree | c02319beb9ef80890ea038654dd8ac56ce025bab /usr/local/www/firewall_virtual_ip_edit.php | |
parent | abcb2bed927c18f29b12972f023b253c703132d1 (diff) | |
download | pfsense-d5b42e6f781721a1f7d6138b806cac9cb11e2d91.zip pfsense-d5b42e6f781721a1f7d6138b806cac9cb11e2d91.tar.gz |
Missed improvement.
Diffstat (limited to 'usr/local/www/firewall_virtual_ip_edit.php')
-rwxr-xr-x | usr/local/www/firewall_virtual_ip_edit.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/local/www/firewall_virtual_ip_edit.php b/usr/local/www/firewall_virtual_ip_edit.php index efe82fb..ed381f5 100755 --- a/usr/local/www/firewall_virtual_ip_edit.php +++ b/usr/local/www/firewall_virtual_ip_edit.php @@ -202,7 +202,8 @@ if ($_POST) { mark_subsystem_dirty('vip'); write_config(); - + if (!$id) + $id = count($a_vip) - 1; header("Location: firewall_virtual_ip.php?changes=mods&id={$id}"); exit; } |