From 9dc0a4b115f41c469eba118b965802ef3f2db62f Mon Sep 17 00:00:00 2001 From: Micheil Smith Date: Thu, 10 Apr 2014 20:34:37 +0100 Subject: [PATCH] Admin/Groups: Pass radix argument to parseInt --- public/src/forum/admin/groups.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/src/forum/admin/groups.js b/public/src/forum/admin/groups.js index 31d52f7f2a..9e3d9b7608 100644 --- a/public/src/forum/admin/groups.js +++ b/public/src/forum/admin/groups.js @@ -146,12 +146,12 @@ define(function() { searchResults.on('click', 'li[data-uid]', function() { var userLabel = $(this), - uid = parseInt(userLabel.attr('data-uid')), + uid = parseInt(userLabel.attr('data-uid'), 10), groupName = detailsModal.attr('data-groupname'), members = []; groupMembersEl.find('li[data-uid]').each(function() { - members.push(parseInt($(this).attr('data-uid'))); + members.push(parseInt($(this).attr('data-uid'), 10)); }); if (members.indexOf(uid) === -1) {