Merge remote-tracking branch 'refs/remotes/origin/master' into develop

v1.18.x
Barış Soner Uşaklı 7 years ago
commit 14b5722d74

@ -101,7 +101,7 @@ module.exports = function (Topics) {
},
function (data, next) {
var tids = data.topics.filter(function (topic) {
return topic && !topic.deleted;
return topic && !topic.deleted && parseInt(tid, 10) !== parseInt(topic.tid, 10);
}).map(function (topic) {
return topic && parseInt(topic.tid, 10);
});

Loading…
Cancel
Save