1
0
mirror of https://github.com/Yubico/yubikey-val.git synced 2025-01-20 10:52:15 +01:00
This commit is contained in:
Simon Josefsson 2010-03-12 10:10:24 +00:00
parent e6551a8d6b
commit cf2fe1342c

View File

@ -39,7 +39,7 @@ $result=$db->customQuery("SELECT id, active, secret ".
"FROM clients ".
"ORDER BY id");
while($row = $result->fetch(PDO::FETCH_ASSOC)) {
if ($row['active'] = "") {
if ($row['active'] == "") {
# For some reason PostgreSQL returns empty strings for false values?!
$row['active'] = "0";
}