Skip to content

Commit

Permalink
fix syntax #666
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Oct 23, 2020
1 parent 0b250f9 commit 3c4382e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/doi.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1838,7 +1838,7 @@ def event=(value)
end

def check_url
return nil if doi.is_registered_or_findable?
return nil if is_registered_or_findable?

unless match_url_with_domains(url: url, domains: client.domains)
errors.add(:url, "URL is not allowed by repository domain settings.")
Expand Down

0 comments on commit 3c4382e

Please sign in to comment.