Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-devel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Elijah Grubb
emulab-devel
Commits
ca804302
Commit
ca804302
authored
May 19, 2014
by
Leigh B Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor bug fix.
parent
3a37dbec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
www/aptui/manage_profile.php
www/aptui/manage_profile.php
+2
-1
No files found.
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
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