Node.js based forum software built for the modern web
teaser is just reply, dont include mainPid
Barış Soner Uşaklı617808d5748b
diff --git a/src/topics/teaser.js b/src/topics/teaser.jsindex c2b4b0e13c..1726f7c770 100644--- a/src/topics/teaser.js+++ b/src/topics/teaser.js@@ -101,7 +101,7 @@ module.exports = function(Topics) {};Topics.updateTeaser = function(tid, callback) {- Topics.getLatestUndeletedPid(tid, function(err, pid) {+ Topics.getLatestUndeletedReply(tid, function(err, pid) {if (err) {return callback(err);}