From 8d9b06ae9d3ac6d7dffe920897a4621bc7e88308 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Pi=C4=8Dman?= Date: Wed, 28 Aug 2024 10:58:53 +0200 Subject: [PATCH] Macro enabled Excel documents not editable --- app/models/dmsf_file_revision.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/dmsf_file_revision.rb b/app/models/dmsf_file_revision.rb index d10d3b40..570c8835 100644 --- a/app/models/dmsf_file_revision.rb +++ b/app/models/dmsf_file_revision.rb @@ -391,7 +391,7 @@ def workflow_tooltip end def protocol - @protocol ||= PROTOCOLS[mime_type] + @protocol ||= PROTOCOLS[mime_type.downcase] @protocol end