Didn't quite finish the last patch of user -> usernew

This commit is contained in:
moodler
2003-03-15 09:15:44 +00:00
parent e6829515b0
commit 78e72ed16b
+1 -1
View File
@@ -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");
}