From: moodler Date: Tue, 7 Jan 2003 14:48:06 +0000 (+0000) Subject: Fixed typo X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=cd8ecdb0b9d82930a7de2e0c3b7adcc32a8118bf;p=moodle.git Fixed typo --- diff --git a/login/confirm.php b/login/confirm.php index 77346f7948..142d2e946f 100644 --- a/login/confirm.php +++ b/login/confirm.php @@ -31,7 +31,7 @@ // The user has confirmed successfully, let's log them in - if (!$USER = get_user_info_from_db("username", $user->id)) { + if (!$USER = get_user_info_from_db("username", $user->username)) { error("Something serious is wrong with the database"); }