summaryrefslogtreecommitdiffstats
path: root/lib/api/kolab_api_service_user.php
diff options
context:
space:
mode:
authorAleksander Machniak <machniak@kolabsys.com>2012-03-22 15:40:10 +0100
committerAleksander Machniak <machniak@kolabsys.com>2012-03-22 15:40:10 +0100
commita5992f1980a26fe8f56ec24b74e015b5daf43438 (patch)
treea7bd7ba2d120708860e13548abf9cab4070c47ca /lib/api/kolab_api_service_user.php
parentf67428d5163af64c92ad8c01a8ef9ce1e1040a4b (diff)
downloadwebadmin-a5992f1980a26fe8f56ec24b74e015b5daf43438.tar.gz
Fix typo in last change
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 142f4b4..a355ac4 100644
--- a/lib/api/kolab_api_service_user.php
+++ b/lib/api/kolab_api_service_user.php
@@ -132,7 +132,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[$user])) {
+ if (!array_key_exists($attribute, $result)) {
$attribute_value = $auth->user_get_attribute($user, $attribute);
if ($attribute_value) {
$result[$attribute] = $attribute_value;