mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Update etc/inc/voucher.inc
Fix array initialization as noted by 'elratt0r' in http://forum.pfsense.org/index.php/topic,49799.0.html
This commit is contained in:
parent
051869b76b
commit
5a6359ae6f
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user