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