lib/api
Jeroen van Meeuwen
vanmeeuwen at kolabsys.com
Sun Sep 16 16:43:14 CEST 2012
lib/api/kolab_api_service_form_value.php | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit e3ce384390dd137c735ebef7282c02d76002ad2e
Author: Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen at kolabsys.com>
Date: Sun Sep 16 16:42:42 2012 +0200
Remember to use results returned from the API service methods as responses
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;
}
More information about the commits
mailing list