From 1a60a57c00bd46a590212bfce852ede4d05d4c02 Mon Sep 17 00:00:00 2001 From: "timeless%mozdev.org" <> Date: Thu, 22 Apr 2004 21:42:14 +0000 Subject: 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 --- process_bug.cgi | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'process_bug.cgi') 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; }; -- cgit v1.2.3-24-g4f1b