Fixed bug that was creating detached profiles in on-demand user import (i.e. import on login)

(DBOINCP-102)
This commit is contained in:
Tristan Olive 2015-06-10 00:32:24 -04:00
parent 502137da7d
commit ef45e86b61
1 changed files with 1 additions and 0 deletions

View File

@ -251,6 +251,7 @@ function boincuser_create_drupal_profile($account, $boinc_user) {
// Populate the profile object
$profile_node = new stdClass();
$profile_node->title = $boinc_user->name;
$profile_node->uid = $account->uid;
$profile_node->body = '';
$profile_node->type = 'profile';
$profile_node->created = $now;