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

This commit is contained in:
Davis
2018-02-08 15:26:27 +02:00
committed by Barış Soner Uşaklı
parent 2983fc3e5e
commit 9d171ca1e2

View File

@@ -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;