diff options
author | Louise Crow <louise.crow@gmail.com> | 2013-06-19 09:02:10 -0700 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2013-06-19 09:02:10 -0700 |
commit | 1d019f1fccd757959461c99b329250b98b1d77e8 (patch) | |
tree | 2865e10b5764b0fcd09d5ea398de969239b32864 /app/models | |
parent | 59035797b11758cd514caa5db253c2b9495341f9 (diff) | |
parent | 2e588963bff5baf256cd2cdc0c8f615b12589edb (diff) |
Merge branch 'hotfix/0.11.0.14' into wdtk
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/incoming_message.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/incoming_message.rb b/app/models/incoming_message.rb index f959a8799..4910d43f4 100644 --- a/app/models/incoming_message.rb +++ b/app/models/incoming_message.rb @@ -713,7 +713,7 @@ class IncomingMessage < ActiveRecord::Base text.strip! # if there is nothing but quoted stuff, then show the subject if text == "FOLDED_QUOTED_SECTION" - text = "[Subject only] " + CGI.escapeHTML(self.subject) + text + text = "[Subject only] " + CGI.escapeHTML(self.subject || '') + text end # and display link for quoted stuff text = text.gsub(/FOLDED_QUOTED_SECTION/, "\n\n" + '<span class="unfold_link"><a href="?unfold=1#incoming-'+self.id.to_s+'">'+_("show quoted sections")+'</a></span>' + "\n\n") |