mirror of
https://github.com/Yubico/yubikey-val.git
synced 2025-02-01 01:52:18 +01:00
Make it work.
This commit is contained in:
parent
210ae15841
commit
cfb751bda7
@ -40,7 +40,8 @@ fclose ($fh);
|
|||||||
$b64rnd = base64_encode ($rnd);
|
$b64rnd = base64_encode ($rnd);
|
||||||
|
|
||||||
$query = "SELECT MAX(id) FROM clients";
|
$query = "SELECT MAX(id) FROM clients";
|
||||||
if (!mysql_query($query, $conn)) {
|
$result = mysql_query($query, $conn);
|
||||||
|
if (!$result) {
|
||||||
debug("SQL query error: " . mysql_error());
|
debug("SQL query error: " . mysql_error());
|
||||||
logdie("code=maxiderror");
|
logdie("code=maxiderror");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user