Didn't quite finish the last patch of user -> usernew
This commit is contained in:
+1
-1
@@ -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");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user