mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-08-05 00:40:40 +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