possible fix for #1688

v1.18.x
barisusakli 11 years ago
parent 4c2765a79c
commit cd5c24efe3

@ -297,7 +297,7 @@ var async = require('async'),
if (err) { if (err) {
return next(err); return next(err);
} }
if (!Array.isArray(postData) || !postData.length) { if (!Array.isArray(postData) || !postData.length || !postData[0]) {
return next(null, []); return next(null, []);
} }
postData[0].index = 0; postData[0].index = 0;

Loading…
Cancel
Save