Skip to content

Node.js based forum software built for the modern web

... and again

Julian Lam27fce2363dcb
diff --git a/src/upgrade.js b/src/upgrade.js
index c2d98fbb40..26ac52cc19 100644
--- a/src/upgrade.js
+++ b/src/upgrade.js
@@ -56,6 +56,8 @@ Upgrade.upgrade = function() {
notifications.get(nid, null, function(notif_data) {
if (notif_data) {
RDB.zadd(key, notif_data.datetime, nid, next);
+ } else {
+ next();
}
});
}, next);