|
|
|
@ -102,7 +102,7 @@ module.exports = function(privileges) {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
cids = cids.filter(function(cid, index) {
|
|
|
|
|
return !results.categories[index].disabled ||
|
|
|
|
|
return !results.categories[index].disabled &&
|
|
|
|
|
(results.allowedTo[index] || results.isAdmin || results.isModerators[index]);
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|