diff options
author | Morris Jobke <morris.jobke@gmail.com> | 2013-08-20 02:49:48 -0700 |
---|---|---|
committer | Morris Jobke <morris.jobke@gmail.com> | 2013-08-20 02:49:48 -0700 |
commit | de949b1caa4491a8016ed5e609fc781526fea54d (patch) | |
tree | b7e5aee0542b7fee87fbd3f335392edcd0807b25 /settings/ajax | |
parent | 884c6b5a82fb13c8f2b4fd029b5a16d41e5fc602 (diff) | |
parent | 9840363488cc22e5e71e33735a390d6751c956eb (diff) | |
download | nextcloud-server-de949b1caa4491a8016ed5e609fc781526fea54d.tar.gz nextcloud-server-de949b1caa4491a8016ed5e609fc781526fea54d.zip |
Merge pull request #4447 from owncloud/fix_4351_master
Use JSON to send/receive group data.
Diffstat (limited to 'settings/ajax')
-rw-r--r-- | settings/ajax/createuser.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/ajax/createuser.php b/settings/ajax/createuser.php index 205958f88d3..ccc2a5d402e 100644 --- a/settings/ajax/createuser.php +++ b/settings/ajax/createuser.php @@ -41,7 +41,7 @@ try { OC_JSON::success(array("data" => array( "username" => $username, - "groups" => implode( ", ", OC_Group::getUserGroups( $username ))))); + "groups" => OC_Group::getUserGroups( $username )))); } catch (Exception $exception) { OC_JSON::error(array("data" => array( "message" => $exception->getMessage()))); } |