Skip to content

Commit

Permalink
becomes update
Browse files Browse the repository at this point in the history
  • Loading branch information
proceps committed Apr 15, 2019
1 parent 20f8440 commit 9699dd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/protonym/becomes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def becomes_test_classifications
end

def becomes_test_for_other_relationships
if related_taxon_name_relationships.with_type_base('TaxonNameRelationship::Iczn').any?
if related_taxon_name_relationships.with_type_base('TaxonNameRelationship::Iczn').any? || related_taxon_name_relationships.with_type_base('TaxonNameRelationship::Typification').any?
errors.add(:base, 'Protonym has additional taxon name relationships, it can not be converted to combination.')
false
else
Expand Down

0 comments on commit 9699dd0

Please sign in to comment.