summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/status_captiveportal_voucher_rolls.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/local/www/status_captiveportal_voucher_rolls.php')
-rw-r--r--src/usr/local/www/status_captiveportal_voucher_rolls.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/status_captiveportal_voucher_rolls.php b/src/usr/local/www/status_captiveportal_voucher_rolls.php
index 01ac36a..cc01e06 100644
--- a/src/usr/local/www/status_captiveportal_voucher_rolls.php
+++ b/src/usr/local/www/status_captiveportal_voucher_rolls.php
@@ -122,9 +122,9 @@ display_top_tabs($tab_array);
<?php
$voucherlck = lock("vouche{$cpzone}r");
$i = 0;
- foreach($a_roll as $rollent):
+ foreach ($a_roll as $rollent):
$used = voucher_used_count($rollent['number']);
- $active = count(voucher_read_active_db($rollent['number']),$rollent['minutes']);
+ $active = count(voucher_read_active_db($rollent['number']), $rollent['minutes']);
$ready = $rollent['count'] - $used;
/* used also count active vouchers, remove them */
$used = $used - $active;
OpenPOWER on IntegriCloud