Skip to content

Node.js based forum software built for the modern web

fixed #1089

Julian Lamd3ba03ceaec5
diff --git a/src/user.js b/src/user.js
index 1a048c9d73..39f0befef9 100644
--- a/src/user.js
+++ b/src/user.js
@@ -1136,8 +1136,9 @@ var bcrypt = require('bcryptjs'),
async.filter(nids, function(nid, next) {
notifications.get(nid, uid, function(notifObj) {
if(!notifObj) {
- next(false);
+ return next(false);
}
+
if (notifObj.uniqueId === uniqueId) {
next(true);
} else {