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

This commit is contained in:
lpsolit%gmail.com 2007-01-03 10:50:26 +00:00
Родитель 75c61211f3
Коммит 5b2d12c6b8
1 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -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} ||= '';