Commit f470eedd authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Fix join vs start bug.

parent 32ed3f7d
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment