From 80b86de5887e229848bd72bc80481e2b8ddb59d4 Mon Sep 17 00:00:00 2001 From: Ermal Date: Sun, 11 Mar 2012 15:40:38 +0000 Subject: [PATCH] Fix wich roll to write --- etc/inc/voucher.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/inc/voucher.inc b/etc/inc/voucher.inc index 63a7d94222..8b1bd45714 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");