From d8898df4b3abd8de4ba59e0afc134fb94d170df8 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 17 May 2008 20:39:51 +0000 Subject: Ticket # 1698 fixes --- usr/local/www/firewall_aliases_edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr/local') diff --git a/usr/local/www/firewall_aliases_edit.php b/usr/local/www/firewall_aliases_edit.php index 8ba28db..05dafec 100755 --- a/usr/local/www/firewall_aliases_edit.php +++ b/usr/local/www/firewall_aliases_edit.php @@ -177,7 +177,7 @@ if ($_POST) { /* item is a url type */ if($_POST['address']) $_POST['address0'] = $_POST['address']; - for($x=0; $x<299; $x++) { + for($x=0; isset($_POST['address'. $x]); $x++) { if($_POST['address' . $x]) { /* fetch down and add in */ $isfirst = 0; -- cgit v1.1