Skip to content

Node.js based forum software built for the modern web

Add cid for filter:category.update hook (#6319)

Davis9d171ca1e217
diff --git a/src/categories/update.js b/src/categories/update.js
index 866e6cd748..c0572f1ffb 100644
--- a/src/categories/update.js
+++ b/src/categories/update.js
@@ -41,7 +41,7 @@ module.exports = function (Categories) {
}
},
function (next) {
- plugins.fireHook('filter:category.update', { category: modifiedFields }, next);
+ plugins.fireHook('filter:category.update', { cid: cid, category: modifiedFields }, next);
},
function (categoryData, next) {
category = categoryData.category;