mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 15:28:37 +08:00
FIX: Don't show category options for reports that can't be scoped to a category.
This commit is contained in:
@ -740,7 +740,7 @@ class User < ActiveRecord::Base
|
||||
(tl_badge + other_badges).take(limit)
|
||||
end
|
||||
|
||||
def self.count_by_signup_date(start_date, end_date, group_id=nil)
|
||||
def self.count_by_signup_date(start_date, end_date, group_id = nil)
|
||||
result = where('users.created_at >= ? AND users.created_at <= ?', start_date, end_date)
|
||||
|
||||
if group_id
|
||||
|
Reference in New Issue
Block a user