From dc441c2873c701c5ebe74fa60aec193dab556382 Mon Sep 17 00:00:00 2001 From: barisusakli Date: Tue, 9 Sep 2014 15:24:03 -0400 Subject: [PATCH] check err --- src/user/notifications.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/user/notifications.js b/src/user/notifications.js index 779c5ef38a..caa9fe5ef4 100644 --- a/src/user/notifications.js +++ b/src/user/notifications.js @@ -275,8 +275,8 @@ var async = require('async'), return; } - privileges.categories.filterUids('read', results.topic.cid, followers, function(followers) { - if (!followers.length) { + privileges.categories.filterUids('read', results.topic.cid, followers, function(err, followers) { + if (err || !followers.length) { return; }