Skip to content

Node.js based forum software built for the modern web

up composer

barisusakli8630196a2d76
diff --git a/package.json b/package.json
index 8ca72ebcb3..88ef98e1dd 100644
--- a/package.json
+++ b/package.json
@@ -40,7 +40,7 @@
"mmmagic": "^0.4.0",
"morgan": "^1.3.2",
"nconf": "~0.7.1",
- "nodebb-plugin-composer-default": "1.0.18",
+ "nodebb-plugin-composer-default": "1.0.19",
"nodebb-plugin-dbsearch": "0.2.17",
"nodebb-plugin-emoji-extended": "0.4.15",
"nodebb-plugin-markdown": "4.0.6",
diff --git a/src/privileges/categories.js b/src/privileges/categories.js
index 43518861d7..fa03bca51b 100644
--- a/src/privileges/categories.js
+++ b/src/privileges/categories.js
@@ -179,7 +179,8 @@ module.exports = function(privileges) {
'topics:create': results['topics:create'][0] || isAdminOrMod,
editable: isAdminOrMod,
view_deleted: isAdminOrMod,
- read: results.read[0] || isAdminOrMod
+ read: results.read[0] || isAdminOrMod,
+ isAdminOrMod: isAdminOrMod
}, callback);
});
};