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