summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-ximportxml.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/importxml.pl b/importxml.pl
index 142470906..350bf80c0 100755
--- a/importxml.pl
+++ b/importxml.pl
@@ -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;