Node.js based forum software built for the modern web
additional fix for #1587
psychobunny74097be2e425
diff --git a/src/controllers/accounts.js b/src/controllers/accounts.jsindex 6957236cfe..a543797b4a 100644--- a/src/controllers/accounts.js+++ b/src/controllers/accounts.js@@ -159,7 +159,7 @@ accountsController.getAccount = function(req, res, next) {userData.profileviews = 1;}- if (callerUID !== parseInt(userData.uid, 10) && callerUID) {+ if (callerUID !== parseInt(userData.uid, 10) && callerUID && !req.query.prefetched) {user.incrementUserFieldBy(userData.uid, 'profileviews', 1);}