Commit 3f71c2a7 authored by Ad Schellevis's avatar Ad Schellevis

(Captiveportal, new) fix typo

parent dd7bb3b2
......@@ -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';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment