Fixed: subject of incoming emails gets mangled (#3717).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3247 e93f8b46-1217-0410-a6f0-8f06a7374b81
pull/351/head
Jean-Philippe Lang 15 years ago
parent de2bef606d
commit a4c64ff84b
  1. 1
      app/models/mail_handler.rb

@ -132,7 +132,6 @@ class MailHandler < ActionMailer::Base
issue.status = status
end
issue.subject = email.subject.chomp
issue.subject = issue.subject.toutf8 if issue.subject.respond_to?(:toutf8)
if issue.subject.blank?
issue.subject = '(no subject)'
end

Loading…
Cancel
Save