Fixed: undefined method name for nil:NilClass

This commit is contained in:
Vokhmin Alexey V 2015-06-20 01:34:28 +03:00
parent 7e3987bc91
commit 8b52b7cd5b
1 changed files with 1 additions and 0 deletions

View File

@ -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