Skip to content

Node.js based forum software built for the modern web

check err

barisusaklidc441c2873c7
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;
}