Commit 467d1eeb authored by Keith Downie's avatar Keith Downie Committed by Leigh B Stoller

Changed variable back from test value

parent 24122978
...@@ -506,8 +506,7 @@ function SPITFORM($formfields, $newuser, $errors) ...@@ -506,8 +506,7 @@ function SPITFORM($formfields, $newuser, $errors)
# Spit out a project selection list if more then one project membership # Spit out a project selection list if more then one project membership
# #
if ($this_user && !$this_user->webonly()) { if ($this_user && !$this_user->webonly()) {
# Changed to 0 for testing, change back if (count($projlist) == 1) {
if (count($projlist) == 0) {
echo "<input id='profile_pid' type='hidden' echo "<input id='profile_pid' type='hidden'
name='formfields[pid]' name='formfields[pid]'
value='" . $formfields["pid"] . "'>\n"; value='" . $formfields["pid"] . "'>\n";
......
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