1
0
mirror of https://github.com/Yubico/yubikey-ksm.git synced 2024-12-11 09:24:14 +01:00

Fix missing quote

This commit is contained in:
Mrten 2013-09-27 12:13:44 +02:00
parent e2975808a5
commit 01a3ab32fd

View File

@ -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) {