summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-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 91d43cd..760bc15 100644
--- a/etc/inc/voucher.inc
+++ b/etc/inc/voucher.inc
@@ -214,7 +214,7 @@ function voucher_expire($voucher_received) {
$active_dirty = false;
$cpdb = captiveportal_read_db(false, 4); /* Indexed by Voucher */
- $unsetindexes[] = array();
+ $unsetindexes = array();
// go through all received vouchers, check their valid and extract
// Roll# and Ticket# using the external readvoucher binary
OpenPOWER on IntegriCloud