mirror of
https://github.com/Yubico/yubikey-val.git
synced 2025-01-20 10:52:15 +01:00
Don't die.
This commit is contained in:
parent
6b95db85e3
commit
c651228340
@ -35,7 +35,8 @@ function query($conn, $q) {
|
|||||||
debug('SQL query: ' . $q);
|
debug('SQL query: ' . $q);
|
||||||
$result = mysql_query($q, $conn);
|
$result = mysql_query($q, $conn);
|
||||||
if (!$result) {
|
if (!$result) {
|
||||||
die("SQL query error: " . mysql_error());
|
debug("SQL query error: " . mysql_error());
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user