Fixed: undefined method name for nil:NilClass
This commit is contained in:
parent
7e3987bc91
commit
8b52b7cd5b
|
@ -14,6 +14,7 @@ module Feed::Issue
|
|||
private
|
||||
|
||||
def new_issue_notifications
|
||||
return unless user
|
||||
collect_recipients.each do |recipient|
|
||||
if user_id != recipient.id && recipient.notifier.can_notify &&
|
||||
recipient.notifier.new_issue && assignee_id != recipient.id
|
||||
|
|
Loading…
Reference in New Issue