mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-12 17:05:51 +01:00
god damnit @barisusakli :P
This commit is contained in:
@@ -255,7 +255,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
function renameGroup(oldName, newName, callback) {
|
function renameGroup(oldName, newName, callback) {
|
||||||
if (oldName === newName || newName.length === 0) {
|
if (oldName === newName || !newName || newName.length === 0) {
|
||||||
return callback();
|
return callback();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user