diff options
author | terry%mozilla.org <> | 2000-01-15 08:23:31 +0000 |
---|---|---|
committer | terry%mozilla.org <> | 2000-01-15 08:23:31 +0000 |
commit | 1bd2ab4163fe5c45cc318c43eb2f4b50eae48a76 (patch) | |
tree | 4b0bbf978c6752b80a7961e6da7feb897ffeaff5 /process_bug.cgi | |
parent | 9bbdda136b57645dfa871b01cb2daa5c1ab19850 (diff) | |
download | bugs-1bd2ab4163fe5c45cc318c43eb2f4b50eae48a76.tar bugs-1bd2ab4163fe5c45cc318c43eb2f4b50eae48a76.tar.gz bugs-1bd2ab4163fe5c45cc318c43eb2f4b50eae48a76.tar.bz2 bugs-1bd2ab4163fe5c45cc318c43eb2f4b50eae48a76.tar.xz bugs-1bd2ab4163fe5c45cc318c43eb2f4b50eae48a76.zip |
Checked in patch by Dawn Endico <endico@mozilla.org> -- when
reassigning by component, reassign the qa contact too.
Diffstat (limited to 'process_bug.cgi')
-rwxr-xr-x | process_bug.cgi | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/process_bug.cgi b/process_bug.cgi index 4d053745d..a11b0a9a1 100755 --- a/process_bug.cgi +++ b/process_bug.cgi @@ -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 { |