v1.18.x
Barış Soner Uşaklı 8 years ago committed by GitHub
parent bb0ec540bd
commit 8afdd71ef1

@ -62,7 +62,7 @@ module.exports = function (Topics) {
var uids = [];
postData.forEach(function (postData) {
if (postData && postData[field] && uids.indexOf(postData[field]) === -1) {
if (postData && parseInt(postData[field], 10) >= 0 && uids.indexOf(postData[field]) === -1) {
uids.push(postData[field]);
}
});

Loading…
Cancel
Save