diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2010-09-23 20:42:19 +0200 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2010-09-23 20:42:19 +0200 |
commit | 46681b3ff9da9dae48d6b7b4d82a40ad2e476587 (patch) | |
tree | 368b9a6f5559be6f8e517d784e78fd1df74b68cd /importxml.pl | |
parent | 6129e24c24e9f69265bef7569bee669ac77a5f1a (diff) | |
download | bugzilla-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-x | importxml.pl | 2 |
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; |