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
This commit is contained in:
parent
de2bef606d
commit
a4c64ff84b
|
@ -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…
Reference in New Issue