summaryrefslogtreecommitdiffstats
path: root/lib/client/kolab_client_task_user.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/client/kolab_client_task_user.php')
-rw-r--r--lib/client/kolab_client_task_user.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/client/kolab_client_task_user.php b/lib/client/kolab_client_task_user.php
index d53318d..2f5d05a 100644
--- a/lib/client/kolab_client_task_user.php
+++ b/lib/client/kolab_client_task_user.php
@@ -169,7 +169,7 @@ class kolab_client_task_user extends kolab_client_task
$id = $this->get_input('id', 'POST');
$result = $this->api->get('user.info', array('user' => $id));
$user = $result->get($id);
- $user['user'] = $id;
+ $user['dn'] = $id;
$output = $this->user_form(null, $user);
$this->output->set_object('taskcontent', $output);
@@ -247,7 +247,7 @@ class kolab_client_task_user extends kolab_client_task
// Prepare fields
list($fields, $types, $type) = $this->form_prepare('user', $data, array('userpassword2'));
- $add_mode = empty($data['user']);
+ $add_mode = empty($data['dn']);
$accttypes = array();
foreach ($types as $idx => $elem) {