Skip to content

Commit

Permalink
Merge pull request #1003 from mlibrary/DBD-1037-fix-bug-in-updated-to…
Browse files Browse the repository at this point in the history
…mbstone-code

DBD-1037 - Fix bug in updated tombstone code
  • Loading branch information
njaffer authored Apr 2, 2018
2 parents 7d771d3 + e8a4e70 commit 4cb58aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/generic_work.rb
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def description= values
def entomb!(epitaph)
self.visibility = Hydra::AccessControls::AccessRight::VISIBILITY_TEXT_VALUE_PRIVATE
self.depositor = 'TOMBSTONE-' + depositor
self.tombstone = epitaph
self.tombstone = [epitaph]

file_sets.each do |file_set|
file_set.visibility = Hydra::AccessControls::AccessRight::VISIBILITY_TEXT_VALUE_PRIVATE
Expand Down

0 comments on commit 4cb58aa

Please sign in to comment.