From 18d2d0b6b81a474424756b60d09e6a24d8b92df9 Mon Sep 17 00:00:00 2001 From: evazion Date: Sun, 30 Oct 2016 16:20:13 -0500 Subject: [PATCH] Fix private forum topic bumping for users below min level. --- app/models/user.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/user.rb b/app/models/user.rb index 15be1e2ad..3d5d44875 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -489,7 +489,7 @@ class User < ActiveRecord::Base module ForumMethods def has_forum_been_updated? return false unless is_gold? - max_updated_at = ForumTopic.active.maximum(:updated_at) + max_updated_at = ForumTopic.permitted.active.maximum(:updated_at) return false if max_updated_at.nil? return true if last_forum_read_at.nil? return max_updated_at > last_forum_read_at