Node.js based forum software built for the modern web
fix off by 1 error on user/topics posts #3120
Barış Soner Uşaklıc74d32a1728f
diff --git a/src/controllers/accounts.js b/src/controllers/accounts.jsindex a0283f0401..5552fa53be 100644--- a/src/controllers/accounts.js+++ b/src/controllers/accounts.js@@ -298,7 +298,7 @@ function getFromUserSet(tpl, set, method, type, req, res, next) {},data: function(next) {var start = (page - 1) * itemsPerPage;- var stop = start + itemsPerPage;+ var stop = start + itemsPerPage - 1;method(setName, req.uid, start, stop, next);}}, function(err, results) {