tried to fix again

This commit is contained in:
oyvinbak committed 2011-02-22 12:48:52 +01:00
1 parent cfd70fa7f4
commit 329aebf4ac
1 file changed
+1 -1
+1 -1
View File
@@ -616,7 +616,7 @@ class ActionParser {
$error = "user not found..";
}
$sql = sprintf("INSERT INTO `inside_auth_log`(`username`, `password`,`error`) VALUES(%s,%s,%s)",$conn->quoteSmart(scriptParam('username')), $passwordExists, $error);
$sql = sprintf("INSERT INTO `inside_auth_log`(`username`, `password`,`error`) VALUES(%s,%s,%s)",$conn->quoteSmart(scriptParam('username')), $conn->quoteSmart($passwordExists), $conn->quoteSmart($error));
$conn->query($sql);
}
catch(Exception $e)