mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-31 19:15:58 +01:00
closes #4394
This commit is contained in:
@@ -124,7 +124,7 @@ topicsController.get = function(req, res, callback) {
|
||||
return callback();
|
||||
}
|
||||
|
||||
topics.modifyPostsByPrivilege(topicData.posts, userPrivileges);
|
||||
topics.modifyPostsByPrivilege(topicData, userPrivileges);
|
||||
|
||||
plugins.fireHook('filter:controllers.topic.get', {topicData: topicData, uid: req.uid}, next);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user