GitLab steht wegen Wartungsarbeiten am Montag, den 10. Mai, zwischen 17:00 und 19:00 Uhr nicht zur Verfügung.

Commit 51b4beb7 authored by jplang's avatar jplang

Fixed that MailHandler#plain_text_body was returning nil if there was nothing to strip (#2814).

git-svn-id: https://svn.redmine.org/redmine/trunk@2520 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 608d86d7
......@@ -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
......
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