]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 599023: importxml.pl fails if UNCONFIRMED is the single bug status allowed when...
authorFrédéric Buclin <LpSolit@gmail.com>
Thu, 23 Sep 2010 18:43:51 +0000 (20:43 +0200)
committerFrédéric Buclin <LpSolit@gmail.com>
Thu, 23 Sep 2010 18:43:51 +0000 (20:43 +0200)
r=ghendricks a=LpSolit

importxml.pl

index 142470906d39b1a9380a6dc128b13aede8859cba..350bf80c04957a634b486b367b7f9a6c45d25844 100755 (executable)
@@ -919,7 +919,7 @@ sub process_bug {
         $initial_status = $bug_statuses[0]->name;
     }
     else {
-        @bug_statuses = @{Bugzilla::Status->get_all()};
+        @bug_statuses = Bugzilla::Status->get_all();
         # Exclude UNCO and inactive bug statuses.
         @bug_statuses = grep { $_->is_active && $_->name ne 'UNCONFIRMED'} @bug_statuses;
         my @open_statuses = grep { $_->is_open } @bug_statuses;