summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-09-16 16:42:42 +0200
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-09-16 16:42:42 +0200
commite3ce384390dd137c735ebef7282c02d76002ad2e (patch)
tree8aa131b4bbdca870abf5634d1f4bac3e5ccef876
parent7679bf67ddc92c25e06e11d5a9dbd6e252dfcc6a (diff)
downloadwebadmin-e3ce384390dd137c735ebef7282c02d76002ad2e.tar.gz
Remember to use results returned from the API service methods as responses
-rw-r--r--lib/api/kolab_api_service_form_value.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/api/kolab_api_service_form_value.php b/lib/api/kolab_api_service_form_value.php
index 4936f30..4d90d68 100644
--- a/lib/api/kolab_api_service_form_value.php
+++ b/lib/api/kolab_api_service_form_value.php
@@ -340,7 +340,7 @@ class kolab_api_service_form_value extends kolab_api_service
$highest_gidnumber = 999;
}
- foreach ($groups as $dn => $attributes) {
+ foreach ($groups['list'] as $dn => $attributes) {
if (!array_key_exists('gidnumber', $attributes)) {
continue;
}
@@ -641,7 +641,7 @@ class kolab_api_service_form_value extends kolab_api_service
$highest_uidnumber = 999;
}
- foreach ($users as $dn => $attributes) {
+ foreach ($users['list'] as $dn => $attributes) {
if (!array_key_exists('uidnumber', $attributes)) {
continue;
}