MDL-8973 fixed typo in signup form validation; merged from MOODLE_18_STABLE

This commit is contained in:
skodak
2007-03-26 19:28:20 +00:00
parent 436dc27061
commit 152bc5a2da
+1 -1
View File
@@ -79,7 +79,7 @@ class login_signup_form extends moodleform {
//check if user exists in external db
//TODO: maybe we should check all enabled plugins instead
if ($authplugin->user_exists($user->username)) {
if ($authplugin->user_exists($data['username'])) {
$errors['username'] = get_string('usernameexists');
}