aboutsummaryrefslogtreecommitdiffstats
path: root/settings/js/users.js
diff options
context:
space:
mode:
authorMichael Gapczynski <mtgap@owncloud.com>2012-07-26 23:54:25 -0400
committerMichael Gapczynski <mtgap@owncloud.com>2012-07-26 23:54:25 -0400
commit7050f0fa67ac4dd17e9712f9cc823f98c7452d1d (patch)
tree830343a96bcd13d3c14d0f259d92b7101f1c79b3 /settings/js/users.js
parentea2e76eecc8b02ba3a10a803e8490b91aac2fe95 (diff)
downloadnextcloud-server-7050f0fa67ac4dd17e9712f9cc823f98c7452d1d.tar.gz
nextcloud-server-7050f0fa67ac4dd17e9712f9cc823f98c7452d1d.zip
Cast groups as string, fixes bug oc-1309. Thanks to nderambure.
Diffstat (limited to 'settings/js/users.js')
-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){