Bug 192571 Empty default owner (assignee or QA) causes "Reassign bug to owner and QA contact of selected component to NOOP

r=justdave a=justdave
This commit is contained in:
timeless%mozdev.org 2004-04-22 14:42:14 +00:00
parent a755fac7e0
commit b6daea0980

View File

@ -941,10 +941,9 @@ SWITCH: for ($::FORM{'knob'}) {
SendSQL("SELECT initialqacontact FROM components " . SendSQL("SELECT initialqacontact FROM components " .
"WHERE components.id = $comp_id"); "WHERE components.id = $comp_id");
my $qacontact = FetchOneColumn(); my $qacontact = FetchOneColumn();
if (defined $qacontact && $qacontact != 0) { $qacontact = 0 unless (defined $qacontact && $qacontact != 0);
DoComma(); DoComma();
$::query .= "qa_contact = $qacontact"; $::query .= "qa_contact = $qacontact";
}
} }
last SWITCH; last SWITCH;
}; };