mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Admins don't see uncategorized on /categories if it has no topics and allow_uncategorized_topics is false
This commit is contained in:
@@ -339,7 +339,7 @@ SQL
|
||||
[read_restricted, mapped]
|
||||
end
|
||||
|
||||
def uncatgorized?
|
||||
def uncategorized?
|
||||
id == SiteSetting.uncategorized_category_id
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user