diff options
-rwxr-xr-x | process_bug.cgi | 7 |
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; }; |