Skip to content

Node.js based forum software built for the modern web

Fix filter:category.build error (double next)

acardinalede1dd3a5df74
diff --git a/src/controllers/category.js b/src/controllers/category.js
index 9a31f8d916..f4b939f60a 100644
--- a/src/controllers/category.js
+++ b/src/controllers/category.js
@@ -196,7 +196,6 @@ categoryController.get = function(req, res, callback) {
});
plugins.fireHook('filter:category.build', {req: req, res: res, templateData: categoryData}, next);
- next(null, categoryData);
}
], function (err, data) {
if (err) {