summaryrefslogtreecommitdiff
path: root/lib/kolab_api_service.php
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-11-01 13:38:28 (GMT)
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-11-01 13:38:28 (GMT)
commit2362449d989db81668eb3712bb6dd8fa9d459362 (patch)
treeb5560ee5ed65dd38dceca67c29e9f259fdc5fd20 /lib/kolab_api_service.php
parentf0220ce6bcbf0bab1f7e55ec8f70589f7e467194 (diff)
downloadkolab-wap-2362449d989db81668eb3712bb6dd8fa9d459362.tar.gz
Fix additional attributes requested not being returned, due to array position offsets
Diffstat (limited to 'lib/kolab_api_service.php')
-rw-r--r--lib/kolab_api_service.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kolab_api_service.php b/lib/kolab_api_service.php
index ea62318..fc04314 100644
--- a/lib/kolab_api_service.php
+++ b/lib/kolab_api_service.php
@@ -457,7 +457,7 @@ abstract class kolab_api_service
// Get extra attributes
if (!empty($extra_attrs)) {
- $extra_attrs = $auth->get_entry_attributes($dn, $extra_attrs);
+ $extra_attrs = $auth->get_entry_attributes($dn, array_values($extra_attrs));
if (!empty($extra_attrs)) {
$attrs = array_merge($attrs, $extra_attrs);