summaryrefslogtreecommitdiffstats
path: root/importxml.pl
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2010-09-23 20:42:19 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2010-09-23 20:42:19 +0200
commit46681b3ff9da9dae48d6b7b4d82a40ad2e476587 (patch)
tree368b9a6f5559be6f8e517d784e78fd1df74b68cd /importxml.pl
parent6129e24c24e9f69265bef7569bee669ac77a5f1a (diff)
downloadbugzilla-46681b3ff9da9dae48d6b7b4d82a40ad2e476587.tar.gz
bugzilla-46681b3ff9da9dae48d6b7b4d82a40ad2e476587.tar.xz
Bug 599023: importxml.pl fails if UNCONFIRMED is the single bug status allowed when reporting a new bug
r=ghendricks a=LpSolit
Diffstat (limited to 'importxml.pl')
-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;