From ac65655384a94c62eeb886f0270556422ebc6b9e Mon Sep 17 00:00:00 2001 From: barisusakli Date: Tue, 13 May 2014 21:13:54 -0400 Subject: [PATCH] fixed missing return --- src/notifications.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/notifications.js b/src/notifications.js index 183a4c34a7..a65f261607 100644 --- a/src/notifications.js +++ b/src/notifications.js @@ -116,7 +116,7 @@ var async = require('async'), Notifications.get(nid, null, function(notif_data) { async.each(uids, function(uid, next) { if (!parseInt(uid, 10)) { - next(); + return next(); } checkReplace(notif_data.uniqueId, uid, notif_data, function(err, replace) {