v1.18.x
Nicolas Siver 10 years ago
parent 1e2f4ae5e9
commit 9d0a0538a6

@ -23,7 +23,7 @@ module.exports = function(Categories) {
}
plugins.fireHook('filter:category.update', {category:modifiedFields}, function(err, categoryData) {
var category = categoryData.category;
var category = categoryData.category;
var fields = Object.keys(category);
async.each(fields, function(key, next) {
updateCategoryField(cid, key, category[key], next);

Loading…
Cancel
Save