Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

… lowercasing
  • Loading branch information...
commit 7e334604bee62f84c138a69729dab549829d010f 1 parent ec3a195
mjollnir_ authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  admin/uploaduser.php
View
2  admin/uploaduser.php
@@ -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.
Something went wrong with that request. Please try again.