Skip to content

Node.js based forum software built for the modern web

forgot ]

Baris Usakli78358a8ccd52
diff --git a/src/postTools.js b/src/postTools.js
index 9981948bfa..094d149707 100644
--- a/src/postTools.js
+++ b/src/postTools.js
@@ -119,7 +119,7 @@ marked.setOptions({
var success = function() {
posts.setPostField(pid, 'deleted', 0);
- posts.getPostFields(pid, ['tid', 'uid', function(postData) {
+ posts.getPostFields(pid, ['tid', 'uid'], function(postData) {
user.incrementUserFieldBy(postData.uid, 'postcount', 1);