Fix bustage due to bug 1007605 (checksetup.pl crashes when installing Bugzilla)
git-svn-id: svn://10.0.0.236/trunk@265899 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
be99f96a17
commit
1379fd18cf
@ -1 +1 @@
|
||||
9353
|
||||
9354
|
||||
@ -1 +1 @@
|
||||
a29f798a2506ec2b57cd4f7ebbdaf58387e6e490
|
||||
52ff6aa09dc77100b2b5a9bd696d2042d7573e94
|
||||
@ -32,8 +32,13 @@ sub get_param_list {
|
||||
};
|
||||
|
||||
my $resolution_field = Bugzilla::Field->new({ name => 'resolution', cache => 1 });
|
||||
# The empty resolution is included - it represents "no value"
|
||||
my @resolutions = map {$_->name} @{ $resolution_field->legal_values };
|
||||
my @resolutions = ();
|
||||
# The 'fielddefs' table is not yet populated when running checksetup.pl
|
||||
# for the first time.
|
||||
if ($resolution_field) {
|
||||
# The empty resolution is included - it represents "no value"
|
||||
@resolutions = map {$_->name} @{ $resolution_field->legal_values };
|
||||
}
|
||||
|
||||
my @param_list = (
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user