From 66225237a0da3c51f6234b52c6c9ff60fff74f19 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Tue, 13 May 2014 21:22:06 -0400 Subject: [PATCH] view_deleted fix for privs --- src/topics/posts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/topics/posts.js b/src/topics/posts.js index 0618a4f92e..8646f6b621 100644 --- a/src/topics/posts.js +++ b/src/topics/posts.js @@ -70,7 +70,7 @@ module.exports = function(Topics) { postData[i].display_move_tools = results.privileges[i].move; postData[i].selfPost = parseInt(uid, 10) === parseInt(postData[i].uid, 10); - if(postData[i].deleted && !results.privileges[i].view_deleted) { + if(postData[i].deleted && !results.privileges[i].meta.view_deleted) { postData[i].content = '[[topic:post_is_deleted]]'; } }