diff options
Diffstat (limited to 'post_bug.cgi')
-rwxr-xr-x | post_bug.cgi | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/post_bug.cgi b/post_bug.cgi index a9878ba6a..ae1ba4c7c 100755 --- a/post_bug.cgi +++ b/post_bug.cgi @@ -101,7 +101,6 @@ if ($::FORM{'assigned_to'} eq "") { $forceAssignedOK = 1; } -$::FORM{'assigned_to'} = DBNameToIdAndCheck($::FORM{'assigned_to'}, $forceAssignedOK); $::FORM{'reporter'} = DBNameToIdAndCheck($::FORM{'reporter'}); @@ -115,8 +114,8 @@ if (Param("useqacontact")) { SqlQuote($::FORM{'product'}) . " and value=" . SqlQuote($::FORM{'component'})); my $qacontact = FetchOneColumn(); - if (defined $qacontact && $qacontact ne "") { - $::FORM{'qa_contact'} = DBNameToIdAndCheck($qacontact, 1); + if (defined $qacontact && $qacontact != 0) { + $::FORM{'qa_contact'} = $qacontact; push(@bug_fields, "qa_contact"); } } |