summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorbcyrill <cyrill@bannwart.info>2013-01-10 17:06:46 +0100
committerbcyrill <cyrill@bannwart.info>2013-01-10 17:06:46 +0100
commit9cdb8eeed9ae609de05c597aa0675bfe810959a8 (patch)
treea201bbe7060031b285c521e4ee040198d2c25f17 /etc
parent016d152054e982dc18001b79ce7f0fb52b060193 (diff)
downloadpfsense-9cdb8eeed9ae609de05c597aa0675bfe810959a8.zip
pfsense-9cdb8eeed9ae609de05c597aa0675bfe810959a8.tar.gz
Update etc/inc/voucher.inc
Apply to branch 2.0 as well. Fix array initialization as noted by 'elratt0r' in http://forum.pfsense.org/index.php/topic,49799.0.html
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