diff --git a/src/controllers/groups.js b/src/controllers/groups.js index 4f87045344..55b408183a 100644 --- a/src/controllers/groups.js +++ b/src/controllers/groups.js @@ -51,7 +51,8 @@ groupsController.details = function(req, res, callback) { function(next) { groups.getGroupNameByGroupSlug(req.params.slug, next); }, - function(groupName, next) { + function(_groupName, next) { + groupName = _groupName; if (!groupName) { return callback(); }