From: Jean-Philippe Lang Date: Sat, 12 Sep 2015 10:58:28 +0000 (+0000) Subject: Merged r14499 (#20454). X-Git-Tag: 3.1.1~18 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=210384457140f9a72532753a5d6743a7564aadb4;p=redmine.git Merged r14499 (#20454). git-svn-id: http://svn.redmine.org/redmine/branches/3.1-stable@14548 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/models/mail_handler.rb b/app/models/mail_handler.rb index 0696216b1..3e8caaae3 100644 --- a/app/models/mail_handler.rb +++ b/app/models/mail_handler.rb @@ -544,6 +544,8 @@ class MailHandler < ActionMailer::Base def find_assignee_from_keyword(keyword, issue) keyword = keyword.to_s.downcase + return nil if keyword.blank? + assignable = issue.assignable_users assignee = nil assignee ||= assignable.detect {|a|