]> source.dussan.org Git - redmine.git/commitdiff
Merged r14499 (#20454).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 12 Sep 2015 10:58:28 +0000 (10:58 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 12 Sep 2015 10:58:28 +0000 (10:58 +0000)
git-svn-id: http://svn.redmine.org/redmine/branches/3.1-stable@14548 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/models/mail_handler.rb

index 0696216b1efc824696938db84625712f9eb82808..3e8caaae3f6d74fe2a2c98988e644ebdb5b94121 100644 (file)
@@ -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|