Skip to content

Node.js based forum software built for the modern web

fix group creation regression

barisusaklia6c8cd50e97c
diff --git a/src/groups/create.js b/src/groups/create.js
index 836cfef035..3eeed9a893 100644
--- a/src/groups/create.js
+++ b/src/groups/create.js
@@ -80,5 +80,7 @@ module.exports = function(Groups) {
if (name.indexOf('/') !== -1) {
return callback(new Error('[[error:invalid-group-name]]'));
}
+
+ callback();
}
};