OSDN Git Service
(root)
/
redminele
/
redmine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0101e60
)
Fixed that MailHandler#plain_text_body was returning nil if there was nothing to...
author
Jean-Philippe Lang
<jp_lang@yahoo.fr>
Mon, 23 Feb 2009 17:35:16 +0000
(17:35 +0000)
committer
Jean-Philippe Lang
<jp_lang@yahoo.fr>
Mon, 23 Feb 2009 17:35:16 +0000
(17:35 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2520
e93f8b46
-1217-0410-a6f0-
8f06a7374b81
app/models/mail_handler.rb
patch
|
blob
|
history
diff --git
a/app/models/mail_handler.rb
b/app/models/mail_handler.rb
index
8d73f0d
..
9836a4a
100644
(file)
--- a/
app/models/mail_handler.rb
+++ b/
app/models/mail_handler.rb
@@
-235,6
+235,7
@@
class MailHandler < ActionMailer::Base
@plain_text_body = plain_text_part.body.to_s
end
@plain_text_body.strip!
+ @plain_text_body
end