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-stable
Commits
bbfdfbc4
Commit
bbfdfbc4
authored
Mar 26, 2003
by
Leigh B. Stoller
Browse files
Minor fix to the pid/gid default code.
parent
4e2ec868
Changes
1
Hide whitespace changes
Inline
Side-by-side
www/beginexp.php3
View file @
bbfdfbc4
...
...
@@ -410,9 +410,9 @@ if (! isset($submit)) {
if
(
count
(
$projlist
)
==
1
)
{
list
(
$project
,
$grouplist
)
=
each
(
$projlist
);
if
(
count
(
$grouplist
)
=
=
2
)
{
if
(
count
(
$grouplist
)
<
=
2
)
{
$defaults
[
exp_pid
]
=
$project
;
if
(
strcmp
(
$project
,
$grouplist
[
0
]))
if
(
count
(
$grouplist
)
==
1
||
strcmp
(
$project
,
$grouplist
[
0
]))
$defaults
[
exp_gid
]
=
$grouplist
[
0
];
else
$defaults
[
exp_gid
]
=
$grouplist
[
1
];
...
...
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