Commit 59875eec authored by Jerome Mariette's avatar Jerome Mariette
Browse files

No commit message

No commit message
parent 90b3f70d
......@@ -509,10 +509,10 @@ class tx_nG6_eid {
if ($res_code == 0) {
// find the new user id
$new_id = tx_nG6_db::select_user_by_username($user_name);
$user = tx_nG6_db::select_user_by_username($user_name);
// authorize new access
tx_nG6_db::add_access_to_project($new_id, $project_id, $right_id);
tx_nG6_db::add_access_to_project($user["uid"], $project_id, $right_id);
if ($send_an_email) {
// send an email to the new user
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment