mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 04:25:55 +01:00
fix unreplied on getTopic
This commit is contained in:
@@ -844,7 +844,7 @@ var async = require('async'),
|
||||
'postcount': topicData.postcount,
|
||||
'viewcount': topicData.viewcount,
|
||||
'pageCount': pageCount,
|
||||
'unreplied': parseInt(topicData.postcount, 10) > 1,
|
||||
'unreplied': parseInt(topicData.postcount, 10) === 1,
|
||||
'topic_id': tid,
|
||||
'expose_tools': privileges.editable ? 1 : 0,
|
||||
'disableSocialButtons': meta.config.disableSocialButtons !== undefined ? parseInt(meta.config.disableSocialButtons, 10) !== 0 : false,
|
||||
|
||||
Reference in New Issue
Block a user