Commit 2dcb2578 authored by mkanat%bugzilla.org's avatar mkanat%bugzilla.org

Handle "Use of uninitialized value in numeric eq (==) at Bugzilla/Field.pm line…

Handle "Use of uninitialized value in numeric eq (==) at Bugzilla/Field.pm line 799" that was being caused by the last checkin, during checksetup.
parent 185ec9c2
...@@ -795,7 +795,7 @@ sub run_create_validators { ...@@ -795,7 +795,7 @@ sub run_create_validators {
$class->_check_control_value($params->{visibility_value_id}, $class->_check_control_value($params->{visibility_value_id},
$params->{visibility_field_id}); $params->{visibility_field_id});
my $type = $params->{type}; my $type = $params->{type} || 0;
$params->{value_field_id} = $params->{value_field_id} =
$class->_check_value_field_id($params->{value_field_id}, $class->_check_value_field_id($params->{value_field_id},
($type == FIELD_TYPE_SINGLE_SELECT ($type == FIELD_TYPE_SINGLE_SELECT
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment