mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-14 00:24:40 +00:00
(Captiveportal, new) fix typo
This commit is contained in:
parent
dd7bb3b29c
commit
3f71c2a732
@ -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';
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user