Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emulab
emulab-devel
Commits
417722a3
Commit
417722a3
authored
Jan 07, 2009
by
Leigh B. Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor bug fix.
parent
3a8a3435
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
backend/editnodetype.in
backend/editnodetype.in
+5
-0
No files found.
backend/editnodetype.in
View file @
417722a3
...
...
@@ -496,6 +496,11 @@ if ($new_type) {
"
attrkey='
$key
', attrtype='
$type
',
"
.
"
attrvalue='
$value
'
");
}
# And a group policy that prevents new type from being used.
DBQueryFatal
("
replace into group_policies
"
.
"
(pid_idx, gid_idx, pid, gid, policy, auxdata, count)
"
.
"
values (0, 0, '-', '-', 'type', '
$type
', 0)
");
}
else
{
DBQueryFatal
("
update node_types set
"
.
...
...
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