summaryrefslogtreecommitdiffstats
path: root/email_in.pl
diff options
context:
space:
mode:
Diffstat (limited to 'email_in.pl')
-rwxr-xr-xemail_in.pl7
1 files changed, 0 insertions, 7 deletions
diff --git a/email_in.pl b/email_in.pl
index 52ad27642..6033c31c4 100755
--- a/email_in.pl
+++ b/email_in.pl
@@ -152,13 +152,6 @@ sub post_bug {
my $user = Bugzilla->user;
- # Bugzilla::Bug->create throws a confusing CodeError if
- # the REQUIRED_CREATE_FIELDS are missing, but much more
- # sensible errors if the fields exist but are just undef.
- foreach my $field (Bugzilla::Bug::REQUIRED_CREATE_FIELDS) {
- $fields->{$field} = undef if !exists $fields->{$field};
- }
-
my ($retval, $non_conclusive_fields) =
Bugzilla::User::match_field({
'assigned_to' => { 'type' => 'single' },