mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-06 22:15:48 +01:00
closes #3089
This commit is contained in:
@@ -159,7 +159,7 @@ categoriesController.list = function(req, res, next) {
|
||||
|
||||
categoriesController.get = function(req, res, next) {
|
||||
var cid = req.params.category_id,
|
||||
page = req.query.page || 1,
|
||||
page = parseInt(req.query.page, 10) || 1,
|
||||
userPrivileges;
|
||||
|
||||
if (req.params.topic_index && !utils.isNumber(req.params.topic_index)) {
|
||||
|
||||
Reference in New Issue
Block a user