]> 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:45:46 +0000 (20:45 +0200)
committerFrédéric Buclin <LpSolit@gmail.com>
Thu, 23 Sep 2010 18:45:46 +0000 (20:45 +0200)
r=ghendricks a=LpSolit

importxml.pl

index 1a61c5eadee30a512aa85e2b9828ea91e9d39d45..3c342aa6cec8d7712155fae94871e341ebcf3444 100755 (executable)
@@ -942,7 +942,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;