Fix wich roll to write

This commit is contained in:
Ermal 2012-03-11 15:40:38 +00:00
parent 2064fa2eb4
commit 80b86de588

View File

@ -447,7 +447,7 @@ function voucher_auth($voucher_received, $test = 0) {
}
$active_vouchers[$first_voucher_roll][$first_voucher] = "$timestamp,$minutes";
voucher_write_active_db($roll, $active_vouchers[$first_voucher_roll]);
voucher_write_active_db($first_voucher_roll, $active_vouchers[$first_voucher_roll]);
/* Triger a sync of the vouchers on config */
send_event("service sync vouchers");