projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e682951
)
Didn't quite finish the last patch of user -> usernew
author
moodler
<moodler>
Sat, 15 Mar 2003 09:15:44 +0000
(09:15 +0000)
committer
moodler
<moodler>
Sat, 15 Mar 2003 09:15:44 +0000
(09:15 +0000)
user/edit.php
patch
|
blob
|
history
diff --git
a/user/edit.php
b/user/edit.php
index e2065ed5f28025ef468f8cb98d0d805fd50082e7..43174b690f80e7be6953d87ea11dacd0aeffc8d5 100644
(file)
--- 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($user
new
->username, $string))
$err["username"] = get_string("alphanumerical");
}