Didn't quite finish the last patch of user -> usernew
authormoodler <moodler>
Sat, 15 Mar 2003 09:15:44 +0000 (09:15 +0000)
committermoodler <moodler>
Sat, 15 Mar 2003 09:15:44 +0000 (09:15 +0000)
user/edit.php

index e2065ed5f28025ef468f8cb98d0d805fd50082e7..43174b690f80e7be6953d87ea11dacd0aeffc8d5 100644 (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");
         }