Commit b94c6d9f authored by Robert Speicher's avatar Robert Speicher

Check if `system` is truthy in `Note.cross_reference?`

parent 686f6855
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment