Skip to content

Node.js based forum software built for the modern web

added filter:category.get

psychobunnyc88327d075e8
diff --git a/src/categories.js b/src/categories.js
index f63b096477..8fb459728d 100644
--- a/src/categories.js
+++ b/src/categories.js
@@ -93,7 +93,9 @@ var db = require('./database'),
category.pageCount = results.pageCount;
category.topic_row_size = 'col-md-9';
- callback(null, category);
+ plugins.fireHook('filter:category.get', category, function(err, category) {
+ callback(null, category);
+ });
});
});
};