Skip to content
Snippets Groups Projects
Commit 30313790 authored by Glenn Proctor's avatar Glenn Proctor
Browse files

Make factor type default to NULL

parent 93224443
No related branches found
No related tags found
No related merge requests found
......@@ -127,7 +127,7 @@ sub parse {
$factor_id = $highest_factor_id + 1;
$factor{INTERNAL_ID} = $factor_id;
$factor{NAME} = $group_name;
$factor{TYPE} = $factor{NAME}; # TODO - error checking that type is one of the enums?
$factor{TYPE} = 'NULL';
push @factors, \%factor;
$factor_ids_by_name{$factor{NAME}} = $factor_id;
$highest_factor_id = $factor_id;
......
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