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
24aa6bf9
Commit
24aa6bf9
authored
Jan 08, 2008
by
Leigh B. Stoller
Browse files
Fix call to non-existent function in Group library.
parent
116bcd68
Changes
2
Show whitespace changes
Inline
Side-by-side
backend/newimageid.in
View file @
24aa6bf9
...
...
@@ -315,7 +315,7 @@ if (!$project->AccessCheck($this_user, TB_PROJECT_MAKEIMAGEID())) {
my
$group
;
if
(
exists
(
$newimageid_args
{"
gid
"}))
{
my
$gid
=
$newimageid_args
{"
gid
"};
$group
=
Group
->
Lookup
SubgroupByName
(
$gid
);
$group
=
Group
->
Lookup
ByPidGid
(
$project
->
pid
(),
$gid
);
if
(
!
defined
(
$group
))
{
UserError
("
Group: No such group
$gid
");
}
...
...
backend/newimageid_ez.in
View file @
24aa6bf9
...
...
@@ -347,7 +347,7 @@ if (!defined($project)) {
my
$group
;
if
(
exists
(
$newimageid_args
{"
gid
"}))
{
my
$gid
=
$newimageid_args
{"
gid
"};
$group
=
Group
->
Lookup
SubgroupByName
(
$gid
);
$group
=
Group
->
Lookup
ByPidGid
(
$project
->
pid
(),
$gid
);
if
(
!
defined
(
$group
))
{
UserError
("
Group: No such group
$gid
");
}
...
...
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