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
Issues
143
Issues
143
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
emulab
emulab-devel
Commits
24aa6bf9
Commit
24aa6bf9
authored
Jan 08, 2008
by
Leigh B. Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix call to non-existent function in Group library.
parent
116bcd68
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
backend/newimageid.in
backend/newimageid.in
+1
-1
backend/newimageid_ez.in
backend/newimageid_ez.in
+1
-1
No files found.
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
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