From 8e388407682bb2432c98f79879cc2b0672625eea Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Thu, 19 Mar 2015 11:34:51 -0400 Subject: [PATCH] also passing in uid in topic delete and restore hooks --- src/threadTools.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/threadTools.js b/src/threadTools.js index 96d8198291..e4345ab0ee 100644 --- a/src/threadTools.js +++ b/src/threadTools.js @@ -21,7 +21,7 @@ var async = require('async'), }; function toggleDelete(tid, uid, isDelete, callback) { - topics.getTopicFields(tid, ['tid', 'cid', 'deleted', 'title', 'mainPid'], function(err, topicData) { + topics.getTopicFields(tid, ['tid', 'cid', 'uid', 'deleted', 'title', 'mainPid'], function(err, topicData) { if (err) { return callback(err); }