summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--settings/js/users.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/js/users.js b/settings/js/users.js
index e46c6446b86..7f3b027b4df 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){