check err

v1.18.x
barisusakli 11 years ago
parent 4e6719e0aa
commit dc441c2873

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

Loading…
Cancel
Save