summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2007-01-03 19:50:26 +0100
committerlpsolit%gmail.com <>2007-01-03 19:50:26 +0100
commit5e359ecf55112103707ae59c1fee4d0ca3962ebf (patch)
tree38e6f337475f0ed11c2bf3bd63e2f7bd8973f96c
parentf5ae0e94f396d63d13604abd98ccae325486f6b8 (diff)
downloadbugzilla-5e359ecf55112103707ae59c1fee4d0ca3962ebf.tar.gz
bugzilla-5e359ecf55112103707ae59c1fee4d0ca3962ebf.tar.xz
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
-rw-r--r--email_in.pl8
1 files changed, 4 insertions, 4 deletions
diff --git a/email_in.pl b/email_in.pl
index 4d20d52cc..098586e18 100644
--- a/email_in.pl
+++ b/email_in.pl
@@ -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} ||= '';