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

This commit is contained in:
Robert Speicher 2015-05-09 18:19:41 -04:00
parent 686f6855c2
commit b94c6d9f5b
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ class Note < ActiveRecord::Base
end end
def cross_reference? def cross_reference?
SystemNoteService.cross_reference?(note) system && SystemNoteService.cross_reference?(note)
end end
def max_attachment_size def max_attachment_size