From 46681b3ff9da9dae48d6b7b4d82a40ad2e476587 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Thu, 23 Sep 2010 20:42:19 +0200 Subject: Bug 599023: importxml.pl fails if UNCONFIRMED is the single bug status allowed when reporting a new bug r=ghendricks a=LpSolit --- importxml.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'importxml.pl') 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; -- cgit v1.2.3-24-g4f1b