]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 192571 Empty default owner (assignee or QA) causes "Reassign bug to owner and...
authortimeless%mozdev.org <>
Thu, 22 Apr 2004 21:42:14 +0000 (21:42 +0000)
committertimeless%mozdev.org <>
Thu, 22 Apr 2004 21:42:14 +0000 (21:42 +0000)
r=justdave a=justdave

process_bug.cgi

index e54a4696573b02193a75314681b40c96a49d3192..788f4a982c726d18807d6b1734bcd343956f1a13 100755 (executable)
@@ -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;
     };