fix popular cache for guests

v1.18.x
Barış Soner Uşaklı 7 years ago
parent 5281b84521
commit 6ebaa800fe

@ -74,7 +74,7 @@ popularController.get = function (req, res, next) {
}
if (!req.loggedIn) {
anonCache[term] = {};
anonCache[term] = anonCache[term] || {};
anonCache[term][page] = data;
lastUpdateTime = Date.now();
}

Loading…
Cancel
Save