Node.js based forum software built for the modern web
fix popular cache for guests
Barış Soner Uşaklı6ebaa800fead
diff --git a/src/controllers/popular.js b/src/controllers/popular.jsindex 31976d7808..cdb0bebe5b 100644--- a/src/controllers/popular.js+++ b/src/controllers/popular.js@@ -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();}