summaryrefslogtreecommitdiffstats
path: root/usr/local/www/status_captiveportal_vouchers.php
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2009-06-30 10:37:21 +0000
committerErmal Luçi <eri@pfsense.org>2009-06-30 10:37:42 +0000
commit156487ed7db7f8a08d6063001a37d9cdf54cdd3a (patch)
treeaf74aca531d93acf13dc0c62c5e4d9c83432f1e3 /usr/local/www/status_captiveportal_vouchers.php
parent3e0621caec4765fcb9311681b6c77a9117e9e148 (diff)
downloadpfsense-156487ed7db7f8a08d6063001a37d9cdf54cdd3a.zip
pfsense-156487ed7db7f8a08d6063001a37d9cdf54cdd3a.tar.gz
Fix various issues reported on http://forum.pfsense.org/index.php/topic,8672.0.html.
Diffstat (limited to 'usr/local/www/status_captiveportal_vouchers.php')
-rw-r--r--usr/local/www/status_captiveportal_vouchers.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/status_captiveportal_vouchers.php b/usr/local/www/status_captiveportal_vouchers.php
index 8587942..5599c37 100644
--- a/usr/local/www/status_captiveportal_vouchers.php
+++ b/usr/local/www/status_captiveportal_vouchers.php
@@ -53,7 +53,7 @@ foreach($a_roll as $rollent) {
$minutes = $rollent['minutes'];
$active_vouchers = file("{$g['vardb_path']}/voucher_active_$roll.db", FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES);
foreach($active_vouchers as $voucher => $line) {
- list($timestamp, $minutes) = explode(",", $line);
+ list($voucher,$timestamp, $minutes) = explode(",", $line);
$remaining = (($timestamp + 60*$minutes) - time());
if ($remaining > 0) {
$dbent[0] = $voucher;
OpenPOWER on IntegriCloud