Node.js based forum software built for the modern web
fixed flags list in account info page
Julian Lam55f07d3301b5
diff --git a/src/user/info.js b/src/user/info.jsindex c3071b84cf..d3ad7d765d 100644--- a/src/user/info.js+++ b/src/user/info.js@@ -51,7 +51,7 @@ module.exports = function (User) {async.waterfall([function (next) {async.parallel({- flags: async.apply(db.getSortedSetRevRangeWithScores, 'uid:' + uid + ':flag:pids', 0, 19),+ flags: async.apply(db.getSortedSetRevRangeWithScores, 'flags:byTargetUid:' + uid, 0, 19),bans: async.apply(db.getSortedSetRevRangeWithScores, 'uid:' + uid + ':bans', 0, 19),reasons: async.apply(db.getSortedSetRevRangeWithScores, 'banned:' + uid + ':reasons', 0, 19),}, next);