This commit is contained in:
Baris Soner Usakli
2014-02-21 18:31:59 -05:00
parent eb3b240b04
commit de34beaf6d
5 changed files with 79 additions and 143 deletions

View File

@@ -741,7 +741,6 @@ module.exports.server = server;
end = start + settings.topicsPerPage - 1;
categories.getCategoryById(cid, start, end, 0, function (err, categoryData) {
if (categoryData) {
if (parseInt(categoryData.disabled, 10) === 1) {
return next(new Error('Category disabled'), null);