mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-06 06:46:02 +02:00
Merge branch 'master' of https://github.com/NodeBB/NodeBB
This commit is contained in:
@@ -44,7 +44,7 @@ module.exports = function(Groups) {
|
||||
|
||||
callback = callback || function() {};
|
||||
|
||||
if (!groupName || !parseInt(uid, 10)) {
|
||||
if (!groupName) {
|
||||
return callback(new Error('[[error:invalid-data]]'));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user