From 5f70e9dc8099d24670b7210f5fbaea9c0ad5aa02 Mon Sep 17 00:00:00 2001 From: calzoneman Date: Wed, 21 Aug 2013 23:05:20 -0500 Subject: [PATCH] Fix database typo --- database.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database.js b/database.js index 971b4bdb..07c78d4e 100644 --- a/database.js +++ b/database.js @@ -1071,7 +1071,7 @@ Database.prototype.genPasswordReset = function (ip, name, email, callback) { query = "INSERT INTO password_reset " + "(ip, name, hash, email, expire) VALUES (?, ?, ?, ?, ?) " + "ON DUPLICATE KEY UPDATE hash=?, expire=?"; - self.query(query, [ip, name, hash, email, exp, hash, exp], + self.query(query, [ip, name, hash, email, exp, hash, expire], function (err, res) { if(err) { callback(err, null);