diff options
author | Darren Embry <dse@webonastick.com> | 2012-05-11 11:04:52 -0400 |
---|---|---|
committer | Darren Embry <dse@webonastick.com> | 2012-05-11 11:04:52 -0400 |
commit | 937cec84c02b94d6784d5bac9ff06c83d55629e9 (patch) | |
tree | 3f77b26320084a6ca7be41a55e9ac71f4314c3f6 /usr | |
parent | 4dfd930ee9af1e9d98f3c41c51d9dec8c3bf34bb (diff) | |
download | pfsense-937cec84c02b94d6784d5bac9ff06c83d55629e9.zip pfsense-937cec84c02b94d6784d5bac9ff06c83d55629e9.tar.gz |
fix for bug #2422 could not remove entries from CP Allowed Hostnames
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/services_captiveportal_hostname.php | 2 |
1 files changed, 1 insertions, 1 deletions
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'])) { |