summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/status_captiveportal_voucher_rolls.php
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2015-12-15 10:38:12 +0545
committerPhil Davis <phil.davis@inf.org>2015-12-15 10:38:12 +0545
commitabe98adb911f9ff76af12034646a4c64e26d6390 (patch)
tree49c09b6bdf22f6afb54eb99e6d2287a8c65283d7 /src/usr/local/www/status_captiveportal_voucher_rolls.php
parent7895a8802317a8477929bea6428bf8dfe214306f (diff)
downloadpfsense-abe98adb911f9ff76af12034646a4c64e26d6390.zip
pfsense-abe98adb911f9ff76af12034646a4c64e26d6390.tar.gz
Code style status*
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