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
e683633b
Commit
e683633b
authored
Sep 17, 2002
by
Leigh B. Stoller
Browse files
Minor fix; when sharing image; set the shared bit in the osid table
too!
parent
b9093502
Changes
1
Show whitespace changes
Inline
Side-by-side
www/newimageid_ez.php3
View file @
e683633b
...
...
@@ -596,11 +596,11 @@ DBQueryFatal("INSERT INTO images ".
DBQueryFatal
(
"INSERT INTO os_info "
.
"(osname, osid, ezid, description, OS, version, path, magic, "
.
" osfeatures, pid, creator, created) "
.
" osfeatures, pid, creator,
shared,
created) "
.
"VALUES "
.
" ('
$imagename
', '
$imageid
', 1, '
$description
', '
$os_name
', "
.
" '
$os_version
', NULL, NULL, '
$os_features
', '
$pid
', "
.
" '
$uid
', now())"
);
" '
$uid
',
$shared
,
now())"
);
for
(
$i
=
0
;
$i
<
count
(
$mtypes_array
);
$i
++
)
{
DBQueryFatal
(
"REPLACE INTO osidtoimageid "
.
...
...
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