Skip to content
GitLab
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
a6888745
Commit
a6888745
authored
Aug 30, 2017
by
Leigh B Stoller
Browse files
Minor bug fix.
parent
f770b76f
Changes
1
Hide whitespace changes
Inline
Side-by-side
www/aptui/status.ajax
View file @
a6888745
...
...
@@ -971,7 +971,8 @@ function Do_Snapshot()
SPITAJAX_ERROR
(
1
,
"Cannot lookup profile for instance"
);
return
;
}
if
(
$this_idx
!=
$profile
->
creator_idx
()
&&
!
ISADMIN
())
{
if
(
$operation
==
"update-profile"
&&
(
$this_idx
!=
$profile
->
creator_idx
()
&&
!
ISADMIN
()))
{
SPITAJAX_ERROR
(
1
,
"Not your profile to change. Clone first!"
);
return
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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