summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortimeless%mozdev.org <>2004-04-22 23:42:14 +0200
committertimeless%mozdev.org <>2004-04-22 23:42:14 +0200
commit1a60a57c00bd46a590212bfce852ede4d05d4c02 (patch)
treeb7824ef8c88896c402261d4cdf81188bc620017b
parent56805d60328f886b0143424bd25c86964639775a (diff)
downloadbugzilla-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-xprocess_bug.cgi7
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;
};