Commit 8ea64d14 authored by dave%intrec.com's avatar dave%intrec.com

Fix for bug 51487: Now only checks for a valid QA Contact if it actually

asked you for one. Thanks to bg.mahesh@team.indiainfo.com (B.G. Mahesh) for catching this.
parent ef9c84bc
......@@ -397,14 +397,8 @@ if ($action eq 'new') {
PutTrailer($localtrailer);
exit;
}
#+++
my $initialqacontact = trim($::FORM{initialqacontact} || '');
#
# Now validating to make sure it's too an existing account
#
DBNameToIdAndCheck($initialqacontact);
if (Param('useqacontact')) {
if ($initialqacontact eq '') {
print "You must enter an initial QA contact for the component '$component'. Please press\n";
......@@ -412,8 +406,10 @@ if ($action eq 'new') {
PutTrailer($localtrailer);
exit;
}
#+++
#DBNameToIdAndCheck($initialqacontact, 0);
#
# Now validating to make sure it's too an existing account
#
DBNameToIdAndCheck($initialqacontact);
}
# Add the new component
......
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