Skip to content

Node.js based forum software built for the modern web

fix groups

barisusaklid621b120b08e
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();
}