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
f470eedd
Commit
f470eedd
authored
Feb 13, 2015
by
Leigh B Stoller
Browse files
Fix join vs start bug.
parent
32ed3f7d
Changes
1
Hide whitespace changes
Inline
Side-by-side
www/aptui/signup.php
View file @
f470eedd
...
...
@@ -122,18 +122,21 @@ if (! isset($create)) {
$defaults
=
array
();
$errors
=
array
();
# Default to start
$defaults
[
"startorjoin"
]
=
"start"
;
$joinproject
=
0
;
if
(
isset
(
$uid
))
{
$defaults
[
"uid"
]
=
CleanString
(
$uid
);
}
if
(
isset
(
$pid
))
{
$defaults
[
"pid"
]
=
CleanString
(
$pid
);
$defaults
[
"startorjoin"
]
=
"join"
;
$joinproject
=
1
;
}
if
(
isset
(
$email
))
{
$defaults
[
"email"
]
=
CleanString
(
$email
);
}
# Default to start
$defaults
[
"startorjoin"
]
=
"start"
;
$joinproject
=
0
;
SPITFORM
(
$defaults
,
0
,
$errors
);
return
;
...
...
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