diff options
author | timeless%mozdev.org <> | 2004-04-22 23:42:14 +0200 |
---|---|---|
committer | timeless%mozdev.org <> | 2004-04-22 23:42:14 +0200 |
commit | 1a60a57c00bd46a590212bfce852ede4d05d4c02 (patch) | |
tree | b7824ef8c88896c402261d4cdf81188bc620017b | |
parent | 56805d60328f886b0143424bd25c86964639775a (diff) | |
download | bugzilla-1a60a57c00bd46a590212bfce852ede4d05d4c02.tar.gz bugzilla-1a60a57c00bd46a590212bfce852ede4d05d4c02.tar.xz |
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
-rwxr-xr-x | process_bug.cgi | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/process_bug.cgi b/process_bug.cgi index e54a46965..788f4a982 100755 --- a/process_bug.cgi +++ b/process_bug.cgi @@ -941,10 +941,9 @@ SWITCH: for ($::FORM{'knob'}) { SendSQL("SELECT initialqacontact FROM components " . "WHERE components.id = $comp_id"); my $qacontact = FetchOneColumn(); - if (defined $qacontact && $qacontact != 0) { - DoComma(); - $::query .= "qa_contact = $qacontact"; - } + $qacontact = 0 unless (defined $qacontact && $qacontact != 0); + DoComma(); + $::query .= "qa_contact = $qacontact"; } last SWITCH; }; |