mirror of
https://github.com/Yubico/yubikey-ksm.git
synced 2024-12-03 03:24:16 +01:00
Fix missing quote
This commit is contained in:
parent
e2975808a5
commit
01a3ab32fd
@ -75,7 +75,7 @@ else {
|
||||
if (!$use_oci) {
|
||||
// use OR for active because some databases do support booleans (sqlite) and some do not.
|
||||
$sql = "SELECT aeskey, internalname FROM yubikeys" .
|
||||
" WHERE publicname = :id AND (active = 'true' OR active=1);
|
||||
" WHERE publicname = :id AND (active = 'true' OR active=1)";
|
||||
|
||||
$sth = $dbh->prepare($sql);
|
||||
if ($sth === false) {
|
||||
|
Loading…
Reference in New Issue
Block a user