Commit da7f0fca authored by Alessandro Vullo's avatar Alessandro Vullo
Browse files

Call to _create_feature_fast set default ([]) to 'attributes' value so as to

eliminate the need for a specialised MiscFeature::new_fast implementation.
parent 8c7209c7
......@@ -513,7 +513,7 @@ sub _objs_from_sth {
'slice' => $slice,
'adaptor' => $self,
'dbID' => $misc_feature_id,
'attributes' => $feat_attribs
'attributes' => $feat_attribs ||= []
} );
push @features, $feat;
......
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