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) {