From e1491e418258d5356e8a0e1218af92b3e47fae5f Mon Sep 17 00:00:00 2001 From: barisusakli Date: Wed, 4 Jun 2014 11:58:05 -0400 Subject: [PATCH] fixed wrong admin tags on admin/user/search --- src/socket.io/admin/user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/socket.io/admin/user.js b/src/socket.io/admin/user.js index fce76d1644..768d451a58 100644 --- a/src/socket.io/admin/user.js +++ b/src/socket.io/admin/user.js @@ -99,7 +99,7 @@ User.search = function(socket, username, callback) { return next(err); } - userData.administrator = isAdmin?'1':'0'; + userData.administrator = isAdmin; next(); }); }