mirror of https://github.com/BOINC/boinc.git
Merge branch 'master' of github.com:BOINC/boinc
This commit is contained in:
commit
cd1f2f6176
|
@ -343,8 +343,7 @@ function boincuser_account_validate($edit, $account) {
|
|||
require_boinc('boinc_db');
|
||||
$boinc_user = BoincUser::lookup_email_addr($account->mail);
|
||||
$changing_email = ($edit['mail'] AND $edit['mail'] != $account->mail) ? true : false;
|
||||
$changing_pass = ($edit['pass']['pass1']) ? true : false;
|
||||
//
|
||||
$changing_pass = ($edit['pass']) ? true : false;
|
||||
if ($changing_email) {
|
||||
// E-mail address is set to change; check for an existing BOINC user
|
||||
$boinc_user_already_exists = BoincUser::lookup_email_addr($edit['mail']);
|
||||
|
|
|
@ -57,7 +57,7 @@
|
|||
$node = node_load($nid);
|
||||
$account = user_load($node->uid);
|
||||
if (isset($account)) {
|
||||
$user_image = boincuser_get_user_profile_image($account->uid);
|
||||
$user_image = boincuser_get_user_profile_image($account->uid, FALSE);
|
||||
$url = "{$base_path}account/{$account->uid}";
|
||||
if (empty($title)) {
|
||||
$title = $account->name;
|
||||
|
@ -162,4 +162,4 @@
|
|||
</dd>
|
||||
</div>
|
||||
<?php endswitch; ?>
|
||||
<?php //print '<pre>'. check_plain(print_r($info_split, 1)) .'</pre>'; ?>
|
||||
<?php //print '<pre>'. check_plain(print_r($info_split, 1)) .'</pre>'; ?>
|
||||
|
|
Loading…
Reference in New Issue