diff options
author | Renato Botelho <renato.botelho@bluepex.com> | 2010-04-27 12:39:37 -0300 |
---|---|---|
committer | Renato Botelho <renato.botelho@bluepex.com> | 2010-04-27 12:39:37 -0300 |
commit | 5e02b57b27b78e2f302feb58c78bee3bea8a943b (patch) | |
tree | db6188965287786570b8945d326bad2042b336df /usr/local/www/firewall_virtual_ip_edit.php | |
parent | 2648fa63b8c0a56a5b1e069f0349da915b01fcc5 (diff) | |
parent | c6d1c7ded2e223ffe668a58a2a66d152a60e8422 (diff) | |
download | pfsense-5e02b57b27b78e2f302feb58c78bee3bea8a943b.zip pfsense-5e02b57b27b78e2f302feb58c78bee3bea8a943b.tar.gz |
Merge remote branch 'mainline/master'
Diffstat (limited to 'usr/local/www/firewall_virtual_ip_edit.php')
-rwxr-xr-x | usr/local/www/firewall_virtual_ip_edit.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/firewall_virtual_ip_edit.php b/usr/local/www/firewall_virtual_ip_edit.php index 80d40d8..415ced4 100755 --- a/usr/local/www/firewall_virtual_ip_edit.php +++ b/usr/local/www/firewall_virtual_ip_edit.php @@ -216,7 +216,7 @@ if ($_POST) { mark_subsystem_dirty('vip'); write_config(); - if (!$id && $id != 0) + if (!isset($id)) $id = count($a_vip) - 1; header("Location: firewall_virtual_ip.php?changes=mods&id={$id}"); exit; |