Commit 1bd2ab41 authored by terry%mozilla.org's avatar terry%mozilla.org

Checked in patch by Dawn Endico <endico@mozilla.org> -- when

reassigning by component, reassign the qa contact too.
parent 9bbdda13
......@@ -325,6 +325,17 @@ SWITCH: for ($::FORM{'knob'}) {
my $newid = DBNameToIdAndCheck($newname, 1);
DoComma();
$::query .= "assigned_to = $newid";
if (Param("useqacontact")) {
SendSQL("select initialqacontact from components where program=" .
SqlQuote($::FORM{'product'}) .
" and value=" . SqlQuote($::FORM{'component'}));
my $qacontact = FetchOneColumn();
if (defined $qacontact && $qacontact ne "") {
my $newqa = DBNameToIdAndCheck($qacontact, 1);
DoComma();
$::query .= "qa_contact = $newqa";
}
}
last SWITCH;
};
/^reopen$/ && CheckonComment( "reopen" ) && do {
......
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