Permalink
Browse files

Added addslashes back in to username field after splitting it out for…

… lowercasing
  • Loading branch information...
1 parent ec3a195 commit 7e334604bee62f84c138a69729dab549829d010f mjollnir_ committed Dec 12, 2004
Showing with 1 addition and 1 deletion.
  1. +1 −1 admin/uploaduser.php
View
@@ -151,7 +151,7 @@
$user->password = md5($value);
}
else if ($name == "username") {
- $user->username = moodle_strtolower($value);
+ $user->username = addslashes(moodle_strtolower($value));
}
// normal entry
else {

0 comments on commit 7e33460

Please sign in to comment.