Skip to content
GitLab
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
0897c253
Commit
0897c253
authored
Apr 18, 2014
by
Leigh B Stoller
Browse files
Minor bug fix.
parent
85276ba6
Changes
1
Hide whitespace changes
Inline
Side-by-side
www/aptui/manage_profile.php
View file @
0897c253
...
...
@@ -185,8 +185,12 @@ function SPITFORM($formfields, $errors)
# to let the user choose.
#
if
(
count
(
$projlist
)
==
1
||
$editing
)
{
$pid
=
(
$editing
?
$formfields
[
"profile_pid"
]
:
$projlist
[
0
]);
if
(
$editing
)
{
$pid
=
$formfields
[
"profile_pid"
];
}
else
{
list
(
$pid
)
=
each
(
$projlist
);
}
$formatter
(
"profile_pid"
,
null
,
"<p class='form-control-static'>
$pid
</p>"
);
echo
"<input type='hidden' name='formfields[profile_pid]' "
.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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