MDL-7647 confirmation email - usernames with slashes causing confirmation problems

This commit is contained in:
Eloy Lafuente
2010-02-10 16:46:00 +00:00
parent 88b78226dd
commit fddef9d6b7
+1 -1
View File
@@ -19,7 +19,7 @@
if (!empty($data) || (!empty($p) && !empty($s))) {
if (!empty($data)) {
$dataelements = explode('/',$data);
$dataelements = explode('/',$data, 2); // Stop after 1st slash. Rest is username. MDL-7647
$usersecret = $dataelements[0];
$username = $dataelements[1];
} else {