From: timeless%mozdev.org <> Date: Thu, 22 Apr 2004 21:42:14 +0000 (+0000) Subject: Bug 192571 Empty default owner (assignee or QA) causes "Reassign bug to owner and... X-Git-Tag: bugzilla-2.18rc1~82 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a60a57c00bd46a590212bfce852ede4d05d4c02;p=thirdparty%2Fbugzilla.git 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 --- diff --git a/process_bug.cgi b/process_bug.cgi index e54a469657..788f4a982c 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; };