diff options
author | bcyrill <cyrill@bannwart.info> | 2013-01-10 17:03:32 +0100 |
---|---|---|
committer | bcyrill <cyrill@bannwart.info> | 2013-01-10 17:03:32 +0100 |
commit | 5a6359ae6f919dc6fefb6a0e8e68950bf36aeccd (patch) | |
tree | 2444a45404a7f0b7a911016e3ee3cc616635407d /etc/inc/voucher.inc | |
parent | 051869b76baadbef4b74020bee74a6cfc53ab1b7 (diff) | |
download | pfsense-5a6359ae6f919dc6fefb6a0e8e68950bf36aeccd.zip pfsense-5a6359ae6f919dc6fefb6a0e8e68950bf36aeccd.tar.gz |
Update etc/inc/voucher.inc
Fix array initialization as noted by 'elratt0r' in http://forum.pfsense.org/index.php/topic,49799.0.html
Diffstat (limited to 'etc/inc/voucher.inc')
-rw-r--r-- | etc/inc/voucher.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/voucher.inc b/etc/inc/voucher.inc index ea723ca..a0455d2 100644 --- a/etc/inc/voucher.inc +++ b/etc/inc/voucher.inc @@ -217,7 +217,7 @@ function voucher_expire($voucher_received) { // split into an array. Useful for multiple vouchers given $a_vouchers_received = preg_split("/[\t\n\r ]+/s", $voucher_received); $active_dirty = false; - $unsetindexes[] = array(); + $unsetindexes = array(); // go through all received vouchers, check their valid and extract // Roll# and Ticket# using the external readvoucher binary |