Skip to content

Commit

Permalink
[#6717] Fix issue lookup
Browse files Browse the repository at this point in the history
  • Loading branch information
edavis10 committed Jan 16, 2012
1 parent 69efa13 commit a35df6f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/models/question_mailer.rb
Expand Up @@ -60,7 +60,8 @@ def self.question_reminders
open_questions_by_assignee.each do |assignee, questions|
next unless assignee.present?

issues = questions.collect {|q| q.issue.visible?(assignee) }.uniq
issues = questions.collect {|q| q.issue.visible?(assignee) ? q.issue : nil }.compact.uniq

deliver_question_reminder(assignee, issues)
end
end
Expand Down

0 comments on commit a35df6f

Please sign in to comment.