summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/kolab_client_task.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kolab_client_task.php b/lib/kolab_client_task.php
index 5dce5bb..132f8d7 100644
--- a/lib/kolab_client_task.php
+++ b/lib/kolab_client_task.php
@@ -1365,7 +1365,7 @@ class kolab_client_task
$field['description'] = "$name.$idx.desc";
$field['section'] = $section_idx;
- if (empty($field['value']) && !empty($data[$idx])) {
+ if (empty($field['value']) && $data[$idx] !== null && $data[$idx] !== '') {
$value = $data[$idx];
// Convert data for the list field with autocompletion