crash fix

v1.18.x
barisusakli 11 years ago
parent 5f2380fdcd
commit 0473e7f25b

@ -274,7 +274,9 @@ var async = require('async'),
for(var i=0; i<posts.length; ++i) {
posts[i].index = start + i;
}
if (posts[0]) {
posts[0].index = 0;
}
Topics.addPostData(posts, uid, next);
});
});

Loading…
Cancel
Save