mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-07 19:27:11 +02:00
closes #4428
This commit is contained in:
@@ -113,7 +113,7 @@ groupsController.members = function(req, res, next) {
|
||||
user.getUsersFromSet('group:' + groupName + ':members', req.uid, 0, 49, next);
|
||||
},
|
||||
], function(err, users) {
|
||||
if (err) {
|
||||
if (err || !groupName) {
|
||||
return next(err);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user