From fdf5227c354e83017de4e23904d213dfe13afd34 Mon Sep 17 00:00:00 2001 From: Baris Soner Usakli Date: Wed, 27 Nov 2013 22:02:50 -0500 Subject: [PATCH] closes #572 --- src/topics.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/topics.js b/src/topics.js index 3d1ad3a4a6..642567db73 100644 --- a/src/topics.js +++ b/src/topics.js @@ -410,8 +410,8 @@ var RDB = require('./redis'), // temporary. I don't think this call should belong here function getPrivileges(next) { - CategoryTools.privileges(category_id, current_user, function(user_privs) { - next(null, user_privs); + CategoryTools.privileges(category_id, current_user, function(err, user_privs) { + next(err, user_privs); }); }