From 578c81b63550db65d216b42d07f120c73fbd467b Mon Sep 17 00:00:00 2001 From: bcyrill Date: Sun, 18 Nov 2012 15:24:59 +0100 Subject: Fix: Repopulate field --- usr/local/www/firewall_aliases_edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/local/www/firewall_aliases_edit.php b/usr/local/www/firewall_aliases_edit.php index 7672d75..28e3dad 100755 --- a/usr/local/www/firewall_aliases_edit.php +++ b/usr/local/www/firewall_aliases_edit.php @@ -181,7 +181,7 @@ if ($_POST) { /* fetch down and add in */ $_POST['address0'] = trim($_POST['address0']); $isfirst = 0; - $address = ""; + $address[] = $_POST['address0']; $alias['url'] = $_POST['address0']; $alias['updatefreq'] = $_POST['address_subnet0'] ? $_POST['address_subnet0'] : 7; if (!is_URL($alias['url']) || empty($alias['url'])) { -- cgit v1.1