A platform for community discussion. Free, open, simple.
Revert "FIX: frozen string exception (#7505)"
Joffrey JAFFEUX497c0ba418a1
diff --git a/app/mailers/user_notifications.rb b/app/mailers/user_notifications.rbindex 7cf10127925..53392ccd757 100644--- a/app/mailers/user_notifications.rb+++ b/app/mailers/user_notifications.rb@@ -549,9 +549,9 @@ class UserNotifications < ActionMailer::Basecontext_posts = context_posts.to_aif context_posts.present?- context += "-- \n*#{I18n.t('user_notifications.previous_discussion')}*\n"+ context << "-- \n*#{I18n.t('user_notifications.previous_discussion')}*\n"context_posts.each do |cp|- context += email_post_markdown(cp, true)+ context << email_post_markdown(cp, true)endend@@ -562,9 +562,9 @@ class UserNotifications < ActionMailer::Baseif opts[:use_invite_template]invite_template = "user_notifications.invited"- invite_template += "_group" if group_name+ invite_template << "_group" if group_name- invite_template +=+ invite_template <<if post.topic.private_message?"_to_private_message_body"else