Fix modifying frozen strings error.

This commit is contained in:
Guo Xiang Tan
2019-05-13 14:31:20 +08:00
parent ba913a24db
commit d369b84ced
2 changed files with 2 additions and 2 deletions

View File

@@ -543,7 +543,7 @@ class UserNotifications < ActionMailer::Base
title = I18n.t("system_messages.private_topic_title", id: post.topic_id)
end
context = ""
context = +""
tu = TopicUser.get(post.topic_id, user)
context_posts = self.class.get_context_posts(post, tu, user)