From b5c12e7b11c4c4dd72004dd21451556a926bb5de Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Wed, 6 Feb 2008 00:10:08 +0000 Subject: Do not show Apply button twice. --- usr/local/www/firewall_virtual_ip.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'usr') diff --git a/usr/local/www/firewall_virtual_ip.php b/usr/local/www/firewall_virtual_ip.php index 96232d5..f9ea84c 100755 --- a/usr/local/www/firewall_virtual_ip.php +++ b/usr/local/www/firewall_virtual_ip.php @@ -78,6 +78,10 @@ if ($_POST['apply']) { } } +if ($_POST) { + unlink_if_exists($d_vipconfdirty_path); +} + $pgtitle = "Firewall: Virtual IP Addresses"; include("head.inc"); -- cgit v1.1