Commit 771ba40a authored by jplang's avatar jplang

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

git-svn-id: https://svn.redmine.org/redmine/trunk@3247 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 206d5a33
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment