From df10bde2dbf75f58f38ed53f54af80c18fd515b3 Mon Sep 17 00:00:00 2001 From: Baris Usakli Date: Fri, 6 Dec 2013 13:30:44 -0500 Subject: [PATCH] added 1 more parseInt --- src/topics.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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