summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAleksander Machniak <machniak@kolabsys.com>2012-03-20 13:40:04 +0100
committerAleksander Machniak <machniak@kolabsys.com>2012-03-20 13:40:04 +0100
commit6184fb7622087684d3f614f47dcbacd84679485c (patch)
treeadafd8b8c9a155930d61f466c286784de39ad266
parent64725457a91cac1db5303f20ba0c62e46ab19632 (diff)
downloadwebadmin-6184fb7622087684d3f614f47dcbacd84679485c.tar.gz
Fix group.member_list response
-rw-r--r--lib/api/kolab_api_service_group.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/api/kolab_api_service_group.php b/lib/api/kolab_api_service_group.php
index 9cf7b22..34843d9 100644
--- a/lib/api/kolab_api_service_group.php
+++ b/lib/api/kolab_api_service_group.php
@@ -130,9 +130,9 @@ class kolab_api_service_group extends kolab_api_service
$result = $auth->group_members_list($getdata['group']);
- if ($result) {
- return $result;
- }
- return FALSE;
+ return array(
+ 'list' => $result,
+ 'count' => count($result),
+ );
}
}