Skip to content

Node.js based forum software built for the modern web

standardize showSelect amongst category and topic_list routes

psychobunnyd2dae2d62f7d
diff --git a/src/controllers/categories.js b/src/controllers/categories.js
index 735df5886d..8896894680 100644
--- a/src/controllers/categories.js
+++ b/src/controllers/categories.js
@@ -277,6 +277,7 @@ categoriesController.get = function(req, res, next) {
},
function (categoryData, next) {
categoryData.privileges = userPrivileges;
+ categoryData.showSelect = categoryData.privileges.editable;
res.locals.metaTags = [
{