mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 11:35:55 +01:00
one more time
This commit is contained in:
@@ -62,7 +62,7 @@ topicsController.get = function(req, res, next) {
|
||||
}
|
||||
|
||||
var postIndex = 0;
|
||||
req.params.post_index = req.params.post_index || 0;
|
||||
req.params.post_index = parseInt(req.params.post_index, 10) || 0;
|
||||
if (!settings.usePagination) {
|
||||
if (reverse) {
|
||||
if (parseInt(req.params.post_index, 10) === 1) {
|
||||
|
||||
Reference in New Issue
Block a user