fix groups

v1.18.x
barisusakli 9 years ago
parent 282ac56bf6
commit d621b120b0

@ -51,7 +51,8 @@ groupsController.details = function(req, res, callback) {
function(next) { function(next) {
groups.getGroupNameByGroupSlug(req.params.slug, next); groups.getGroupNameByGroupSlug(req.params.slug, next);
}, },
function(groupName, next) { function(_groupName, next) {
groupName = _groupName;
if (!groupName) { if (!groupName) {
return callback(); return callback();
} }

Loading…
Cancel
Save