summaryrefslogtreecommitdiffstats
path: root/etc/inc/voucher.inc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2012-03-11 15:40:38 +0000
committerErmal <eri@pfsense.org>2012-03-11 15:41:06 +0000
commit80b86de5887e229848bd72bc80481e2b8ddb59d4 (patch)
treeaf5f66c1f857b8812d060332996b658153657795 /etc/inc/voucher.inc
parent2064fa2eb4e2bca59f7c675969ee13752283d4c1 (diff)
downloadpfsense-80b86de5887e229848bd72bc80481e2b8ddb59d4.zip
pfsense-80b86de5887e229848bd72bc80481e2b8ddb59d4.tar.gz
Fix wich roll to write
Diffstat (limited to 'etc/inc/voucher.inc')
-rw-r--r--etc/inc/voucher.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/voucher.inc b/etc/inc/voucher.inc
index 63a7d94..8b1bd45 100644
--- a/etc/inc/voucher.inc
+++ b/etc/inc/voucher.inc
@@ -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");
OpenPOWER on IntegriCloud