From 937cec84c02b94d6784d5bac9ff06c83d55629e9 Mon Sep 17 00:00:00 2001 From: Darren Embry Date: Fri, 11 May 2012 11:04:52 -0400 Subject: fix for bug #2422 could not remove entries from CP Allowed Hostnames --- usr/local/www/services_captiveportal_hostname.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr/local/www/services_captiveportal_hostname.php') diff --git a/usr/local/www/services_captiveportal_hostname.php b/usr/local/www/services_captiveportal_hostname.php index 3955da8..9bfa129 100755 --- a/usr/local/www/services_captiveportal_hostname.php +++ b/usr/local/www/services_captiveportal_hostname.php @@ -67,7 +67,7 @@ $pgtitle = array(gettext("Services"),gettext("Captive portal"), $a_cp[$cpzone][' if ($_GET['act'] == "del" && !empty($cpzone)) { $a_allowedhostnames =& $a_cp[$cpzone]['allowedhostname']; - if ($allowedhostnames[$_GET['id']]) { + if ($a_allowedhostnames[$_GET['id']]) { $ipent = $a_allowedhostnames[$_GET['id']]; if (isset($a_cp[$cpzone]['enable'])) { -- cgit v1.1