mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-06 14:05:46 +01:00
#1688 removed length check
This commit is contained in:
@@ -297,7 +297,7 @@ var async = require('async'),
|
||||
if (err) {
|
||||
return next(err);
|
||||
}
|
||||
if (!Array.isArray(postData) || !postData.length || !postData[0]) {
|
||||
if (!Array.isArray(postData) || !postData[0]) {
|
||||
return next(null, []);
|
||||
}
|
||||
postData[0].index = 0;
|
||||
|
||||
Reference in New Issue
Block a user