Commit 1117c73e authored by jurgbohn's avatar jurgbohn

Tiny bugfix

parent 50218b63
......@@ -75,7 +75,7 @@ if (isset($_POST['user'])) {
$smarty->display('error.tpl');
die();
} else {
$row = $res->fetchOne(MDB2_FETCHMODE_ASSOC);
$row = $res->fetchRow(MDB2_FETCHMODE_ASSOC);
$code = md5($username . $row['email'] . time());
$sql = "INSERT INTO Recovery_Request (username, email, code, expires) VALUES("
. $mdb2->quote($username, 'text') . ", "
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment