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