summaryrefslogtreecommitdiffstats
path: root/lib/kolab_client_task.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kolab_client_task.php')
-rw-r--r--lib/kolab_client_task.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/kolab_client_task.php b/lib/kolab_client_task.php
index dd5a304..25443f2 100644
--- a/lib/kolab_client_task.php
+++ b/lib/kolab_client_task.php
@@ -617,6 +617,7 @@ class kolab_client_task
switch ($field['type']) {
case 'select':
+ case 'multiselect':
if (!isset($field['values'])) {
$data['attributes'] = array($field['name']);
$resp = $this->api->post('form_value.select_options', null, $data);
@@ -635,6 +636,11 @@ class kolab_client_task
else {
$result['options'] = array('');
}
+
+ if ($field['type'] == 'multiselect') {
+ $result['multiple'] = true;
+ }
+
break;
case 'list':