FIX: autoclose topic max replies used wrong constant

This commit is contained in:
Jeff Atwood 2016-04-12 13:42:52 -07:00
parent 36683da8b6
commit f39186b24a
1 changed files with 1 additions and 1 deletions

View File

@ -238,7 +238,7 @@ class PostCreator
SiteSetting.auto_close_topics_post_count <= @post.topic.posts_count
@post.topic.update_status(:closed, true, Discourse.system_user,
message: I18n.t('topic_statuses.autoclosed_topic_max_posts', count: SiteSetting.auto_close_messages_post_count))
message: I18n.t('topic_statuses.autoclosed_topic_max_posts', count: SiteSetting.auto_close_topics_post_count))
end
end