summaryrefslogtreecommitdiffstats
path: root/lib/api/kolab_api_service_user.php
diff options
context:
space:
mode:
authorAleksander Machniak <machniak@kolabsys.com>2012-03-26 10:11:39 +0200
committerAleksander Machniak <machniak@kolabsys.com>2012-03-26 10:11:39 +0200
commit8fdf2421cc4d8f76f9736e86127278334a776779 (patch)
tree28c6159df3f3fb15d1adbc7b3c8cd4f53b6ccbd5 /lib/api/kolab_api_service_user.php
parent0b8849e31162e07bdc5dbfef9ea95b3cf3d5c9b8 (diff)
downloadwebadmin-8fdf2421cc4d8f76f9736e86127278334a776779.tar.gz
Code cleanup and some fixes
Diffstat (limited to 'lib/api/kolab_api_service_user.php')
-rw-r--r--lib/api/kolab_api_service_user.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/kolab_api_service_user.php b/lib/api/kolab_api_service_user.php
index b13f40f..61cd7ce 100644
--- a/lib/api/kolab_api_service_user.php
+++ b/lib/api/kolab_api_service_user.php
@@ -164,7 +164,7 @@ class kolab_api_service_user extends kolab_api_service
foreach ($uta as $field_type => $attributes) {
foreach ($attributes as $attribute => $data) {
if (!array_key_exists($attribute, $result)) {
- $attribute_value = $auth->user_get_attribute($user, $attribute);
+ $attribute_value = $auth->user_get_attribute($result['entrydn'], $attribute);
if ($attribute_value) {
$result[$attribute] = $attribute_value;
}