Skip to content

Node.js based forum software built for the modern web

actually fixes #985

psychobunnyd02a1ef40af5
diff --git a/src/topics.js b/src/topics.js
index 79a2423252..86a899dfcd 100644
--- a/src/topics.js
+++ b/src/topics.js
@@ -176,6 +176,7 @@ var async = require('async'),
},
function(postData, next) {
postData.favourited = false;
+ postData.votes = 0;
postData.display_moderator_tools = true;
postData.display_move_tools = privileges.admin || privileges.moderator;
postData.relativeTime = utils.toISOString(postData.timestamp);