#48 thumbnails
This commit is contained in:
parent
368c2b1e4a
commit
dab268306b
@ -31,7 +31,7 @@ module RedmineDmsf
|
||||
module InstanceMethods
|
||||
|
||||
def has_attachments_with_has_attachments_dms?
|
||||
has_attachments_without_has_attachments_dms? || self.dmsf_files.any?
|
||||
has_attachments_without_has_attachments_dms? || (defined?(self.dmsf_files) && self.dmsf_files.any?)
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user