summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2011-03-25 21:20:07 +0000
committerErmal <eri@pfsense.org>2011-03-25 21:20:07 +0000
commit4fab0ce085c09fee4ed1383725fe45f880ddfe4e (patch)
tree0439ea0e0279e0b144ee747e91b3f9e935da9b51 /usr/local
parentc5b3fa908a4a92d50542b0bd847765701de39c59 (diff)
downloadpfsense-4fab0ce085c09fee4ed1383725fe45f880ddfe4e.zip
pfsense-4fab0ce085c09fee4ed1383725fe45f880ddfe4e.tar.gz
Actually remember that the vouchers are enabled
Diffstat (limited to 'usr/local')
-rw-r--r--usr/local/www/services_captiveportal_vouchers.php2
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 6c163fd..0bd442e 100644
--- a/usr/local/www/services_captiveportal_vouchers.php
+++ b/usr/local/www/services_captiveportal_vouchers.php
@@ -202,8 +202,8 @@ if ($_POST) {
}
if (!$input_errors) {
+ $config['voucher']['enable'] = $_POST['enable'] ? true : false;
if (!$_POST['vouchersyncusername']) {
- $config['voucher']['enable'] = $_POST['enable'] ? true : false;
$config['voucher']['charset'] = $_POST['charset'];
$config['voucher']['rollbits'] = $_POST['rollbits'];
$config['voucher']['ticketbits'] = $_POST['ticketbits'];
OpenPOWER on IntegriCloud