summaryrefslogtreecommitdiffstats
path: root/lib/kolab_client_task.php
diff options
context:
space:
mode:
authorTimotheus Pokorra <tp@tbits.net>2015-04-24 10:40:38 +0200
committerTimotheus Pokorra <tp@tbits.net>2015-04-24 10:40:38 +0200
commit9efb8ac7f9acdc5e0cf91b720784495d79a4222f (patch)
treeacc0b3ccd91aee4e0339e9517d42fff9e01c8b76 /lib/kolab_client_task.php
parentba6cc09ee060526624b92d9809f5ccb182793cb2 (diff)
downloadwebadmin-9efb8ac7f9acdc5e0cf91b720784495d79a4222f.tar.gz
properly save checkbox values of custom attributes (#4815)
otherwise you get an error that LDAP cannot save value 'on'
Diffstat (limited to 'lib/kolab_client_task.php')
-rw-r--r--lib/kolab_client_task.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/kolab_client_task.php b/lib/kolab_client_task.php
index f521d17..4425303 100644
--- a/lib/kolab_client_task.php
+++ b/lib/kolab_client_task.php
@@ -1413,6 +1413,7 @@ class kolab_client_task
if ($field['type'] == kolab_form::INPUT_CHECKBOX && !isset($field['checked'])) {
$field['checked'] = $field['value'] == 'TRUE';
+ $field['value'] = 'TRUE';
}
/*
if (!empty($field['suffix'])) {