From: skodak Date: Mon, 26 Mar 2007 19:28:20 +0000 (+0000) Subject: MDL-8973 fixed typo in signup form validation; merged from MOODLE_18_STABLE X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=152bc5a2da10229d4eb8492463f75d26cbd7e8ba;p=moodle.git MDL-8973 fixed typo in signup form validation; merged from MOODLE_18_STABLE --- diff --git a/login/signup_form.php b/login/signup_form.php index 20176bae52..85e31cd3f9 100644 --- a/login/signup_form.php +++ b/login/signup_form.php @@ -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'); }