Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
ca804302
Commit
ca804302
authored
May 19, 2014
by
Leigh B Stoller
Browse files
Minor bug fix.
parent
3a37dbec
Changes
1
Hide whitespace changes
Inline
Side-by-side
www/aptui/manage_profile.php
View file @
ca804302
...
...
@@ -317,7 +317,8 @@ if (!$project) {
$errors
[
"profile_pid"
]
=
"No such project"
;
}
# User better be a member.
if
(
!
$project
->
IsMember
(
$this_user
,
$isapproved
)
||
!
$isapproved
)
{
if
(
!
ISADMIN
()
&&
(
!
$project
->
IsMember
(
$this_user
,
$isapproved
)
||
!
$isapproved
))
{
$errors
[
"profile_pid"
]
=
"Illegal project"
;
}
...
...
Write
Preview
Supports
Markdown
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