Macro enabled Excel documents not editable

This commit is contained in:
Karel Pičman 2024-08-28 10:58:53 +02:00
parent b0a53abc48
commit 8d9b06ae9d

View File

@ -391,7 +391,7 @@ class DmsfFileRevision < ApplicationRecord
end
def protocol
@protocol ||= PROTOCOLS[mime_type]
@protocol ||= PROTOCOLS[mime_type.downcase]
@protocol
end