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
9a621e52
Commit
9a621e52
authored
Nov 07, 2007
by
Russ Fish
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug fix: mtypes_array was filled differently here in the PHP version, use mtype_keys instead.
parent
09c4a7d3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
backend/newimageid_ez.in
backend/newimageid_ez.in
+2
-2
No files found.
backend/newimageid_ez.in
View file @
9a621e52
...
...
@@ -476,8 +476,8 @@ if (!$isadmin && defined($node_id)) {
while
(
my
(
$ntype
)
=
$query_result
->
fetchrow_array
())
{
$otypes
{
$ntype
}
=
1
;
}
# Flag invalid node types.
foreach
my
$ntype
(
@mtypes_array
)
{
foreach
my
$ntype
(
@mtype_keys
)
{
$ntype
=~
s/^mtype_//
;
if
(
!
exists
(
$otypes
{
$ntype
}))
{
UserError
("
Node Types: Current image on
$node_id
"
.
"
cannot run on node type
$ntype
");
...
...
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