diff options
-rw-r--r-- | app/models/application_mailer.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/application_mailer.rb b/app/models/application_mailer.rb index eccc46990..1a97a4bf9 100644 --- a/app/models/application_mailer.rb +++ b/app/models/application_mailer.rb @@ -150,8 +150,8 @@ class ApplicationMailer < ActionMailer::Base # already set. @mime_version ||= "1.0" if !@parts.empty? - # *** Convert the subject (which might be a SafeBuffer) into a string - @subject = @subject.to_str + # *** Convert into a string + @subject = @subject.to_str if @subject # build the mail object itself @mail = create_mail |