Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
genotoul-bioinfo
ng6
Commits
59875eec
Commit
59875eec
authored
Sep 12, 2012
by
Jerome Mariette
Browse files
No commit message
No commit message
parent
90b3f70d
Changes
1
Show whitespace changes
Inline
Side-by-side
ui/nG6/class.tx_nG6_eid.php
View file @
59875eec
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment