Add a user id to the session when someone adds a role (and thus a user) to an account that does not currently correspond to any user records.

This commit is contained in:
jacob 2011-01-28 19:57:09 +00:00
parent 462427c1b1
commit ceb55a49a6

View File

@ -218,7 +218,7 @@ function account_add_role($accounts_id, $roles_id, $conferences_id, $password =
}else{
// They're not actually connected to this conference, let's hook 'em up
$u = user_create($accounts_id, $conferences_id);
$users_id = $u['id'];
$_SESSION['users_id'] = $users_id = $u['id'];
}
// we now have the user id that we need, let's check to see whether or not they