summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_virtual_ip_edit.php
diff options
context:
space:
mode:
authorRenato Botelho <renato.botelho@bluepex.com>2010-04-27 12:39:37 -0300
committerRenato Botelho <renato.botelho@bluepex.com>2010-04-27 12:39:37 -0300
commit5e02b57b27b78e2f302feb58c78bee3bea8a943b (patch)
treedb6188965287786570b8945d326bad2042b336df /usr/local/www/firewall_virtual_ip_edit.php
parent2648fa63b8c0a56a5b1e069f0349da915b01fcc5 (diff)
parentc6d1c7ded2e223ffe668a58a2a66d152a60e8422 (diff)
downloadpfsense-5e02b57b27b78e2f302feb58c78bee3bea8a943b.zip
pfsense-5e02b57b27b78e2f302feb58c78bee3bea8a943b.tar.gz
Merge remote branch 'mainline/master'
Diffstat (limited to 'usr/local/www/firewall_virtual_ip_edit.php')
-rwxr-xr-xusr/local/www/firewall_virtual_ip_edit.php2
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;
OpenPOWER on IntegriCloud