Actually remember that the vouchers are enabled

This commit is contained in:
Ermal 2011-03-25 21:20:07 +00:00
parent c5b3fa908a
commit 4fab0ce085

View File

@ -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'];