Skip to content

Commit

Permalink
Update quality_checks.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
lmrodriguezr committed Dec 6, 2023
1 parent 5693668 commit b1b41c1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/models/name/quality_checks.rb
Original file line number Diff line number Diff line change
Expand Up @@ -730,7 +730,8 @@ def qc_warnings
@qc_warnings.add(:missing_description) unless description?
@qc_warnings.add(:invalid_effective_publication) if proposed_by&.prepub?
@qc_warnings.add(:missing_publication_of_emendation) # check
if proposed_by.nil? && (register.nil? || register.before_notification?)
if proposed_by.nil? &&
(register.nil? || register.notified? || register.validated?)
@qc_warnings.add(:missing_effective_publication)
end

Expand Down

0 comments on commit b1b41c1

Please sign in to comment.