From b6daea0980b9eed6fe43fa5c340dd80655edfedf Mon Sep 17 00:00:00 2001 From: "timeless%mozdev.org" Date: Thu, 22 Apr 2004 14:42:14 +0000 Subject: [PATCH] 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 --- webtools/bugzilla/process_bug.cgi | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/webtools/bugzilla/process_bug.cgi b/webtools/bugzilla/process_bug.cgi index e54a4696573b..788f4a982c72 100755 --- a/webtools/bugzilla/process_bug.cgi +++ b/webtools/bugzilla/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; };