mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-07 03:27:01 +02:00
fix groups
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user