BigW Consortium Gitlab

Commit b94c6d9f by Robert Speicher

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

parent 686f6855
...@@ -99,7 +99,7 @@ class Note < ActiveRecord::Base ...@@ -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
......
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