mirror of
https://github.com/Yubico/yubikey-val.git
synced 2025-01-20 10:52:15 +01:00
Typo.
This commit is contained in:
parent
e6551a8d6b
commit
cf2fe1342c
@ -39,7 +39,7 @@ $result=$db->customQuery("SELECT id, active, secret ".
|
|||||||
"FROM clients ".
|
"FROM clients ".
|
||||||
"ORDER BY id");
|
"ORDER BY id");
|
||||||
while($row = $result->fetch(PDO::FETCH_ASSOC)) {
|
while($row = $result->fetch(PDO::FETCH_ASSOC)) {
|
||||||
if ($row['active'] = "") {
|
if ($row['active'] == "") {
|
||||||
# For some reason PostgreSQL returns empty strings for false values?!
|
# For some reason PostgreSQL returns empty strings for false values?!
|
||||||
$row['active'] = "0";
|
$row['active'] = "0";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user