From 24a302ea1acdec84101e3694aa358b82e67e4d9b Mon Sep 17 00:00:00 2001 From: barisusakli Date: Sun, 13 Dec 2015 18:06:14 +0200 Subject: [PATCH] closes #3947 --- src/socket.io/topics/move.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/socket.io/topics/move.js b/src/socket.io/topics/move.js index 42c82f6b8f..80fc2e3772 100644 --- a/src/socket.io/topics/move.js +++ b/src/socket.io/topics/move.js @@ -55,7 +55,7 @@ module.exports = function(SocketTopics) { async.waterfall([ function (next) { - privileges.categories.canMoveAllTopics(data.currentCid, data.cid, data.uid, next); + privileges.categories.canMoveAllTopics(data.currentCid, data.cid, socket.uid, next); }, function (canMove, next) { if (!canMove) {