From b8a62b23566b1137b707ab9dbf7744c381dec49d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fr=C3=A9d=C3=A9ric=20Buclin?= Date: Thu, 23 Sep 2010 20:45:46 +0200 Subject: [PATCH] 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(-) diff --git a/importxml.pl b/importxml.pl index 1a61c5eade..3c342aa6ce 100755 --- a/importxml.pl +++ b/importxml.pl @@ -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; -- 2.47.2