aboutsummaryrefslogtreecommitdiffstats
path: root/settings/js
diff options
context:
space:
mode:
authorMichael Gapczynski <mtgap@owncloud.com>2012-08-11 11:42:38 -0400
committerMichael Gapczynski <mtgap@owncloud.com>2012-08-11 16:25:27 -0400
commitbaa0b4d530db8a585692c222d5f5cf185438c68a (patch)
tree8e3a7036fb2f6f63a0520dca800a9e5cc96760bd /settings/js
parent5b16c7a25d5031d727de56cb11f86f0656e2e2c0 (diff)
downloadnextcloud-server-baa0b4d530db8a585692c222d5f5cf185438c68a.tar.gz
nextcloud-server-baa0b4d530db8a585692c222d5f5cf185438c68a.zip
Cast subadmin groups as strings
Diffstat (limited to 'settings/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 5a3820b74d3..91d24adafc1 100644
--- a/settings/js/users.js
+++ b/settings/js/users.js
@@ -133,7 +133,7 @@ $(document).ready(function(){
}
if($(element).attr('class') == 'subadminsselect'){
if(element.data('subadmin')){
- checked=element.data('subadmin').split(', ');
+ checked=String(element.data('subadmin')).split(', ');
}
var checkHandeler=function(group){
if(group=='admin'){