mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 12:36:02 +01:00
fixed typo
This commit is contained in:
@@ -33,7 +33,7 @@ var async = require('async'),
|
||||
return callback(new Error('no-privileges'));
|
||||
} else if (!cid) {
|
||||
return callback(new Error('invalid-cid'));
|
||||
} else if (!title || title.length < parseInt(meta.config.minimumTitleLength, 10) {
|
||||
} else if (!title || title.length < parseInt(meta.config.minimumTitleLength, 10)) {
|
||||
return callback(new Error('title-too-short'), null);
|
||||
} else if(title.length > parseInt(meta.config.maximumTitleLength, 10)) {
|
||||
return callback(new Error('title-too-long'), null);
|
||||
|
||||
Reference in New Issue
Block a user