Commit 283a3cfa authored by Leigh B. Stoller's avatar Leigh B. Stoller

Bug fix.

parent ef666d82
......@@ -777,7 +777,7 @@ if (! $returning) {
#
# Certain of these values must be escaped or otherwise sanitized.
#
$joining_uid = ($USERSELECTUIDS ? null : $formfields[joining_uid]);
$joining_uid = ($USERSELECTUIDS ? $formfields[joining_uid] : null);
$usr_name = addslashes($formfields[usr_name]);
$usr_email = $formfields[usr_email];
$password1 = $formfields[password1];
......
......@@ -950,7 +950,7 @@ if (count($errors)) {
if (!$returning) {
$proj_head_uid = (($USERSELECTUIDS ||
$FirstInitState == "createproject") ?
null : $formfields[proj_head_uid]);
$formfields[proj_head_uid] : null);
$usr_title = addslashes($formfields[usr_title]);
$usr_name = addslashes($formfields[usr_name]);
$usr_affil = addslashes($formfields[usr_affil]);
......
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