diff options
author | Ermal <eri@pfsense.org> | 2013-01-29 08:14:48 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2013-01-29 08:14:48 +0000 |
commit | cd54b9bc077467392fe99e026d2a23eb093a2673 (patch) | |
tree | e2d43259d7f2dadf99854cbfe2fa99044ba027c1 | |
parent | a823022d6126207d8e045093fe1b823bd5d1783d (diff) | |
download | pfsense-cd54b9bc077467392fe99e026d2a23eb093a2673.zip pfsense-cd54b9bc077467392fe99e026d2a23eb093a2673.tar.gz |
Do not do double checks for this
-rw-r--r-- | usr/local/www/services_captiveportal_vouchers.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/services_captiveportal_vouchers.php b/usr/local/www/services_captiveportal_vouchers.php index 3462ad6..c2f154f 100644 --- a/usr/local/www/services_captiveportal_vouchers.php +++ b/usr/local/www/services_captiveportal_vouchers.php @@ -50,7 +50,7 @@ $cpzone = $_GET['zone']; if (isset($_POST['zone'])) $cpzone = $_POST['zone']; -if (empty($cpzone) || empty($config['captiveportal'][$cpzone])) { +if (empty($cpzone)) { header("Location: services_captiveportal_zones.php"); exit; } |