DEV: Fix small typo. (#15904)

This commit is contained in:
Alan Guo Xiang Tan 2022-02-11 11:51:51 +08:00 committed by GitHub
parent 76aadc67bb
commit 81791a821c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,7 +33,7 @@ class UserStatCountUpdater
# to trigger an error.
if action == :decrement! && stat.public_send(column) < 1
if SiteSetting.verbose_user_stat_count_logging
Rails.logger.warn("Attempted to insert negative count into UserStat##{column}} for post with id '#{post.id}'")
Rails.logger.warn("Attempted to insert negative count into UserStat##{column} for post with id '#{post.id}'")
end
return