diff --git a/src/topics.js b/src/topics.js index 1865017471..f5a496bc77 100644 --- a/src/topics.js +++ b/src/topics.js @@ -574,7 +574,7 @@ var async = require('async'), 'slug': topicData.slug, 'postcount': topicData.postcount, 'viewcount': topicData.viewcount, - 'unreplied': topicData.postcount > 1, + 'unreplied': parseInt(topicData.postcount, 10) > 1, 'topic_id': tid, 'expose_tools': privileges.editable ? 1 : 0, 'posts': topicPosts