summaryrefslogtreecommitdiffstats
path: root/usr/local/www/services_captiveportal_hostname.php
diff options
context:
space:
mode:
authorDarren Embry <dse@webonastick.com>2012-05-11 11:04:52 -0400
committerDarren Embry <dse@webonastick.com>2012-05-11 11:04:52 -0400
commit937cec84c02b94d6784d5bac9ff06c83d55629e9 (patch)
tree3f77b26320084a6ca7be41a55e9ac71f4314c3f6 /usr/local/www/services_captiveportal_hostname.php
parent4dfd930ee9af1e9d98f3c41c51d9dec8c3bf34bb (diff)
downloadpfsense-937cec84c02b94d6784d5bac9ff06c83d55629e9.zip
pfsense-937cec84c02b94d6784d5bac9ff06c83d55629e9.tar.gz
fix for bug #2422 could not remove entries from CP Allowed Hostnames
Diffstat (limited to 'usr/local/www/services_captiveportal_hostname.php')
-rwxr-xr-xusr/local/www/services_captiveportal_hostname.php2
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'])) {
OpenPOWER on IntegriCloud