Commit 5e359ecf authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 365696: Posting a new bug via email_in.pl fails due to typo in default…

Bug 365696: Posting a new bug via email_in.pl fails due to typo in default platform and severity - Patch by Albert Ting <altlst@sonic.net> r=mkanat a=myk
parent f5ae0e94
......@@ -65,10 +65,10 @@ use constant REQUIRED_ENTRY_FIELDS => qw(
version
assigned_to
platform
rep_platform
op_sys
priority
severity
bug_severity
bug_file_loc
);
......@@ -175,10 +175,10 @@ sub post_bug {
debug_print('Posting a new bug...');
$fields{'platform'} ||= Bugzilla->params->{'defaultplatform'};
$fields{'rep_platform'} ||= Bugzilla->params->{'defaultplatform'};
$fields{'op_sys'} ||= Bugzilla->params->{'defaultopsys'};
$fields{'priority'} ||= Bugzilla->params->{'defaultpriority'};
$fields{'severity'} ||= Bugzilla->params->{'defaultseverity'};
$fields{'bug_severity'} ||= Bugzilla->params->{'defaultseverity'};
foreach my $field (REQUIRED_ENTRY_FIELDS) {
$fields{$field} ||= '';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment