diff options
author | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-02-02 02:34:26 +0100 |
---|---|---|
committer | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-02-02 02:34:26 +0100 |
commit | b0642d67ae6a9a7e7bbb8b8dc7a832c26bb211af (patch) | |
tree | c08cb54facdfa7f21833b6519fd0f468f5022e29 /Bugzilla/Migrate.pm | |
parent | 52ca02ea108a6c1d4c1ec735d3907782c2000586 (diff) | |
download | bugzilla-b0642d67ae6a9a7e7bbb8b8dc7a832c26bb211af.tar.gz bugzilla-b0642d67ae6a9a7e7bbb8b8dc7a832c26bb211af.tar.xz |
Bug 487508: Allow restricting the visibility of custom fields and values by component
r=dkl, a=mkanat
Diffstat (limited to 'Bugzilla/Migrate.pm')
-rw-r--r-- | Bugzilla/Migrate.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Bugzilla/Migrate.pm b/Bugzilla/Migrate.pm index 282279e75..6c353357d 100644 --- a/Bugzilla/Migrate.pm +++ b/Bugzilla/Migrate.pm @@ -323,7 +323,7 @@ sub reset_serial_values { ); my @select_fields = grep { $_->is_select } (values %{ $self->bug_fields }); foreach my $field (@select_fields) { - next if $field->name eq 'product'; + next if $field->is_abnormal; $reset{$field->name} = 'id'; } @@ -709,8 +709,8 @@ sub insert_bugs { $self->debug($bug, 3); foreach my $field (@standard_drop_downs) { + next if $field->is_abnormal; my $field_name = $field->name; - next if $field_name eq 'product'; if (!defined $bug->{$field_name}) { # If there's a default value for this, then just let create() # pick it. |