diff --git a/app/models/attachment.rb b/app/models/attachment.rb index 3959a6667..ad76c06df 100644 --- a/app/models/attachment.rb +++ b/app/models/attachment.rb @@ -451,6 +451,7 @@ class Attachment < ActiveRecord::Base if allowed.present? && !extension_in?(extension, allowed) return false end + true end