mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=9221
This commit is contained in:
parent
5ac4a0bc33
commit
24a078ee63
|
@ -369,3 +369,10 @@ Bruce 12 Jan 2006
|
|||
sched/
|
||||
file_upload_handler.C
|
||||
|
||||
David 12 Jan 2006
|
||||
- Web RPC: fixed bug in am_set_info.php that caused password_hash
|
||||
to not update.
|
||||
(from Willy de Zutter)
|
||||
|
||||
html/user/
|
||||
am_set_info.php
|
||||
|
|
|
@ -88,19 +88,20 @@ if ($email_addr && $email_addr!=$user->email_addr) {
|
|||
$query .= " email_addr='$email_addr', ";
|
||||
}
|
||||
if ($password_hash) {
|
||||
$password_hash .= " password_hash='$password_hash', ";
|
||||
$query .= " passwd_hash='$password_hash', ";
|
||||
}
|
||||
|
||||
// the seti_id=seti_id is to make it legal if no fields updated
|
||||
//
|
||||
$result = mysql_query("update user set $query seti_id=seti_id where id=$user->id");
|
||||
$query = "update user set $query seti_id=seti_id where id=$user->id";
|
||||
$result = mysql_query($query);
|
||||
if ($result) {
|
||||
if ($old_email_addr) {
|
||||
send_verify_email($old_email_addr, $email_addr, $user);
|
||||
}
|
||||
success("");
|
||||
} else {
|
||||
error("database error");
|
||||
error("database error: ".mysql_error());
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue