Merge pull request #4823 from MegaGM/issue-4822

closes #4822
v1.18.x
Barış Soner Uşaklı 9 years ago committed by GitHub
commit 915fa99ebe

@ -118,6 +118,7 @@ module.exports = function(Posts) {
var cids = topics.map(function(topic) {
if (topic) {
topic.title = validator.escape(topic.title);
topic.deleted = parseInt(topic.deleted, 10) === 1;
}
return topic && topic.cid;
}).filter(function(topic, index, array) {

Loading…
Cancel
Save