summaryrefslogtreecommitdiffstats
path: root/usr/local/www/status_captiveportal_voucher_rolls.php
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www/status_captiveportal_voucher_rolls.php')
-rw-r--r--usr/local/www/status_captiveportal_voucher_rolls.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/status_captiveportal_voucher_rolls.php b/usr/local/www/status_captiveportal_voucher_rolls.php
index 62335f2..742964d 100644
--- a/usr/local/www/status_captiveportal_voucher_rolls.php
+++ b/usr/local/www/status_captiveportal_voucher_rolls.php
@@ -100,7 +100,7 @@ include("fbegin.inc");
$active = count(voucher_read_active_db($rollent['number']),$rollent['minutes']);
$ready = $rollent['count'] - $used;
/* used also count active vouchers, remove them */
- $used = $used - $avtive;
+ $used = $used - $active;
?>
<tr>
<td class="listlr">
OpenPOWER on IntegriCloud