*** empty log message ***

svn path=/trunk/boinc/; revision=5534
This commit is contained in:
David Anderson 2005-02-27 03:02:01 +00:00
parent 11f870952d
commit 9f78f9a661
1 changed files with 2 additions and 2 deletions

View File

@ -58,13 +58,13 @@ if (!is_valid_email_addr($new_email_addr)) {
name@domain"
);
}
$query = "select * from user where email_addr='$new_email_addr' or email_addr like '@$new_email_addr_%' limit 1";
$query = "select * from user where email_addr='$new_email_addr' or email_addr like '@$new_email_addr\\_%' limit 1";
$result = mysql_query($query);
if ($result) {
$user = mysql_fetch_object($result);
mysql_free_result($result);
if ($user) {
show_error("There's already an account with that email address");
show_error("There's already an account with that email address.");
}
}