Commit fe875369 authored by Kevin Atkinson's avatar Kevin Atkinson

Bug fix to previous commit.

parent 395e0e0e
......@@ -594,7 +594,7 @@ if (! $returning) {
strcmp($formfields["usr_affil_abbrev"], "") == 0) {
$errors["Affiliation Abbreviation"] = "Missing Field";
}
elseif (! TBvalid_affiliation_abbreviation($formfields["usr_affil"])) {
elseif (! TBvalid_affiliation_abbreviation($formfields["usr_affil_abbrev"])) {
$errors["Affiliation Name"] = TBFieldErrorString();
}
}
......
......@@ -727,7 +727,7 @@ if (! $returning) {
strcmp($formfields["usr_affil_abbrev"], "") == 0) {
$errors["Affiliation Abbreviation"] = "Missing Field";
}
elseif (! TBvalid_affiliation_abbreviation($formfields["usr_affil"])) {
elseif (! TBvalid_affiliation_abbreviation($formfields["usr_affil_abbrev"])) {
$errors["Affiliation Name"] = TBFieldErrorString();
}
if (!isset($formfields["usr_email"]) ||
......
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