From 9604779be180b5cc185825d4df7ad449d01d9818 Mon Sep 17 00:00:00 2001 From: barisusakli Date: Tue, 4 Aug 2015 15:51:35 -0400 Subject: [PATCH] fix unreplied --- src/topics.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/topics.js b/src/topics.js index e68786d454..9da377f58d 100644 --- a/src/topics.js +++ b/src/topics.js @@ -196,7 +196,7 @@ var async = require('async'), topics[i].locked = parseInt(topics[i].locked, 10) === 1; topics[i].deleted = parseInt(topics[i].deleted, 10) === 1; topics[i].unread = !results.hasRead[i]; - topics[i].unreplied = parseInt(topics[i].postcount, 10) <= 1 && meta.config.teaserPost !== 'first'; + topics[i].unreplied = !topics[i].teaser; } }