-
Posts
+
[[topic:posts]]
{post_matches} result(s) matching "{search_query}"
-
No posts found!
+
[[tropic:no_posts_found]]
diff --git a/src/topics.js b/src/topics.js
index 9c4fb78010..f59fda688c 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);