Node.js based forum software built for the modern web
missing radix
barisusaklic9742566004c
diff --git a/src/socket.io/posts.js b/src/socket.io/posts.jsindex 00f7988656..a93b64e248 100644--- a/src/socket.io/posts.js+++ b/src/socket.io/posts.js@@ -314,7 +314,7 @@ SocketPosts.flag = function(socket, pid, callback) {posts.getPostFields(pid, ['tid', 'uid', 'content', 'deleted'], next);},function(postData, next) {- if (parseInt(postData.deleted) === 1) {+ if (parseInt(postData.deleted, 10) === 1) {return next(new Error('[[error:post-deleted]]'));}post = postData;