1
0
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:
Simon Josefsson 2009-05-06 14:40:25 +00:00
parent 6b95db85e3
commit c651228340

View File

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