]> git.mjollnir.org Git - moodle.git/commitdiff
Fixed typo
authormoodler <moodler>
Tue, 7 Jan 2003 14:48:06 +0000 (14:48 +0000)
committermoodler <moodler>
Tue, 7 Jan 2003 14:48:06 +0000 (14:48 +0000)
login/confirm.php

index 77346f7948a14c6b46d0e6bda49c166426ad1b64..142d2e946f4eba6374c848140900aa22835d54d4 100644 (file)
@@ -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");
                 }