From ef45e86b6134d81bdd832eceb1da435ac80e833e Mon Sep 17 00:00:00 2001 From: Tristan Olive Date: Wed, 10 Jun 2015 00:32:24 -0400 Subject: [PATCH] Fixed bug that was creating detached profiles in on-demand user import (i.e. import on login) (DBOINCP-102) --- .../default/boinc/modules/boincuser/includes/boincuser.forms.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/drupal/sites/default/boinc/modules/boincuser/includes/boincuser.forms.inc b/drupal/sites/default/boinc/modules/boincuser/includes/boincuser.forms.inc index 5bf1ec46b3..024c290f3f 100644 --- a/drupal/sites/default/boinc/modules/boincuser/includes/boincuser.forms.inc +++ b/drupal/sites/default/boinc/modules/boincuser/includes/boincuser.forms.inc @@ -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;