summaryrefslogtreecommitdiffstats
path: root/lib/api/kolab_api_service_group.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/api/kolab_api_service_group.php')
-rw-r--r--lib/api/kolab_api_service_group.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/api/kolab_api_service_group.php b/lib/api/kolab_api_service_group.php
index f382d79..c1decaf 100644
--- a/lib/api/kolab_api_service_group.php
+++ b/lib/api/kolab_api_service_group.php
@@ -149,6 +149,9 @@ class kolab_api_service_group extends kolab_api_service
$result = $result[$dn];
$result['entrydn'] = $dn;
+ // add group type id to the result
+ $result['group_type_id'] = $this->object_type_id('group', $result['objectclass']);
+
if ($result) {
return $result;
}