summaryrefslogtreecommitdiff
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-26 13:29:48 (GMT)
commit47bf4d4819024fdc7f5b4fffc0cea7df2ba003fe (patch)
treeb5560ee5ed65dd38dceca67c29e9f259fdc5fd20
parent279f3c2635c14dd6a87767b38fc458dc9abb50b9 (diff)
downloadkolab-wap-47bf4d4819024fdc7f5b4fffc0cea7df2ba003fe.tar.gz
Fix additional attributes requested not being returned, due to array position offsets
-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);