Skip to content

Commit

Permalink
Only say that we have text if we have an identifier that isn't reprin…
Browse files Browse the repository at this point in the history
…ted (fixes papyri#160)
  • Loading branch information
ryanfb committed Apr 4, 2016
1 parent 6a247c2 commit d46d9e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/publication.rb
Expand Up @@ -1448,7 +1448,7 @@ def creatable_identifiers
if i.class.to_s == "HGVMetaIdentifier"
has_meta = true
end
if i.class.to_s == "DDBIdentifier"
if i.class.to_s == "DDBIdentifier" && !i.is_reprinted?
has_text = true
end
if i.class.to_s =~ /CTSIdentifier/
Expand Down

0 comments on commit d46d9e9

Please sign in to comment.