summaryrefslogtreecommitdiffstats
path: root/settings/ajax
diff options
context:
space:
mode:
authorMorris Jobke <morris.jobke@gmail.com>2013-08-20 02:49:48 -0700
committerMorris Jobke <morris.jobke@gmail.com>2013-08-20 02:49:48 -0700
commitde949b1caa4491a8016ed5e609fc781526fea54d (patch)
treeb7e5aee0542b7fee87fbd3f335392edcd0807b25 /settings/ajax
parent884c6b5a82fb13c8f2b4fd029b5a16d41e5fc602 (diff)
parent9840363488cc22e5e71e33735a390d6751c956eb (diff)
downloadnextcloud-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.php2
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())));
}