summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Bugzilla/Migrate.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Migrate.pm b/Bugzilla/Migrate.pm
index 9c6d2fef9..4d7637527 100644
--- a/Bugzilla/Migrate.pm
+++ b/Bugzilla/Migrate.pm
@@ -742,7 +742,7 @@ sub insert_bugs {
my ($set_status, $set_resolution);
if (defined $bug->{resolution}) {
$set_resolution = Bugzilla::Field::Choice->type('resolution')
- ->new({ name => $bug->{resolution} });
+ ->new({ name => delete $bug->{resolution} });
}
if (!$allowed_statuses{lc($bug->{bug_status})}) {
$set_status = new Bugzilla::Status({ name => $bug->{bug_status} });