Commit 15b80375 authored by Leigh Stoller's avatar Leigh Stoller

Fix mysql error in login path.

parent 48e879a4
......@@ -1164,9 +1164,11 @@ function DOLOGIN_MAGIC($uid, $uid_idx, $email = null,
# failed, reset the timestamp
if ($rv) {
if ($lastactivestr != '') {
DBQueryFatal("update user_stats set ".
" last_activity='$lastactivestr' ".
"where uid_idx='$uid_idx'");
}
SUEXECERROR(SUEXEC_ACTION_DIE);
return;
}
......
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