Commit a5b85688 authored by Leigh Stoller's avatar Leigh Stoller

Fix to previous revision, good thing that deck chair was floating.

parent d55be907
......@@ -1090,8 +1090,7 @@ function DOLOGIN_MAGIC($uid, $uid_idx, $email = null,
" usr_email ".
" from users as u ".
"left join user_stats as s on s.uid_idx=u.uid_idx ".
"where u.uid_idx='$uid_idx' and ".
" u.nonlocal_id is null");
"where u.uid_idx='$uid_idx'");
if (!mysql_num_rows($query_result)) {
return -1;
......
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