Check if `system` is truthy in `Note.cross_reference?`
This commit is contained in:
parent
686f6855c2
commit
b94c6d9f5b
|
@ -99,7 +99,7 @@ class Note < ActiveRecord::Base
|
|||
end
|
||||
|
||||
def cross_reference?
|
||||
SystemNoteService.cross_reference?(note)
|
||||
system && SystemNoteService.cross_reference?(note)
|
||||
end
|
||||
|
||||
def max_attachment_size
|
||||
|
|
Loading…
Reference in New Issue