Project

General

Profile

« Previous | Next » 

Revision 9cdb8eee

Added by Cyrill B over 12 years ago

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

View differences:

etc/inc/voucher.inc
214 214
	$active_dirty = false;
215 215

  
216 216
	$cpdb = captiveportal_read_db(false, 4); /* Indexed by Voucher */
217
	$unsetindexes[] = array();
217
	$unsetindexes = array();
218 218

  
219 219
	// go through all received vouchers, check their valid and extract
220 220
	// Roll# and Ticket# using the external readvoucher binary

Also available in: Unified diff