1
0
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:
Simon Josefsson 2009-08-28 11:32:35 +00:00
parent 210ae15841
commit cfb751bda7

View File

@ -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");
}