diff --git a/settings/js/users.js b/settings/js/users.js index e46c6446b8..7f3b027b4d 100644 --- a/settings/js/users.js +++ b/settings/js/users.js @@ -87,7 +87,7 @@ $(document).ready(function(){ var user=element.data('username'); if($(element).attr('class') == 'groupsselect'){ if(element.data('userGroups')){ - checked=element.data('userGroups').split(', '); + checked=String(element.data('userGroups')).split(', '); } if(user){ var checkHandeler=function(group){