mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-31 19:15:58 +01:00
fix empty pages
This commit is contained in:
@@ -44,7 +44,7 @@ topicsController.get = function(req, res, next) {
|
||||
},
|
||||
function (results, next) {
|
||||
|
||||
var postCount = parseInt(results.postCount, 10) + 1;
|
||||
var postCount = parseInt(results.postCount, 10);
|
||||
if (utils.isNumber(req.params.post_index)) {
|
||||
var url = '';
|
||||
if (req.params.post_index > postCount) {
|
||||
|
||||
Reference in New Issue
Block a user