summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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