mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-20 15:30:39 +01:00
@@ -103,6 +103,9 @@ categoryController.get = function (req, res, callback) {
|
||||
}, next);
|
||||
},
|
||||
function (categoryData, next) {
|
||||
if (!categoryData) {
|
||||
return callback();
|
||||
}
|
||||
categories.modifyTopicsByPrivilege(categoryData.topics, userPrivileges);
|
||||
|
||||
if (categoryData.link) {
|
||||
|
||||
Reference in New Issue
Block a user