(Captiveportal, new) fix typo

This commit is contained in:
Ad Schellevis 2015-11-05 16:10:05 +00:00
parent dd7bb3b29c
commit 3f71c2a732

View File

@ -257,7 +257,7 @@ class Voucher implements IAuthConnector
if (empty($row['starttime'])) {
$record['state'] = 'unused';
} elseif (time() > $row['endtime']) {
} elseif (time() < $record['endtime']) {
$record['state'] = 'valid';
} else {
$record['state'] = 'expired';