Skip to content

Commit

Permalink
Missing mime type
Browse files Browse the repository at this point in the history
  • Loading branch information
picman committed Sep 11, 2024
1 parent c4d3f2a commit 2a7c421
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/dmsf_file_revision.rb
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ def workflow_tooltip
end

def protocol
@protocol ||= PROTOCOLS[mime_type.downcase]
@protocol ||= PROTOCOLS[mime_type.downcase] if mime_type
@protocol
end

Expand Down

0 comments on commit 2a7c421

Please sign in to comment.