From: moodler Date: Sat, 15 Mar 2003 09:15:44 +0000 (+0000) Subject: Didn't quite finish the last patch of user -> usernew X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=78e72ed16b3edb34f2e10265c60eb4e251d78dd9;p=moodle.git Didn't quite finish the last patch of user -> usernew --- diff --git a/user/edit.php b/user/edit.php index e2065ed5f2..43174b690f 100644 --- a/user/edit.php +++ b/user/edit.php @@ -164,7 +164,7 @@ function find_form_errors(&$user, &$usernew, &$err) { } else { $string = eregi_replace("[^(-\.[:alnum:])]", "", $usernew->username); - if (strcmp($user->username, $string)) + if (strcmp($usernew->username, $string)) $err["username"] = get_string("alphanumerical"); }