summaryrefslogtreecommitdiffstats
path: root/lib/client/kolab_client_task_settings.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/client/kolab_client_task_settings.php')
-rw-r--r--lib/client/kolab_client_task_settings.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/client/kolab_client_task_settings.php b/lib/client/kolab_client_task_settings.php
index f1e37ac..d4d4651 100644
--- a/lib/client/kolab_client_task_settings.php
+++ b/lib/client/kolab_client_task_settings.php
@@ -653,7 +653,7 @@ class kolab_client_task_settings extends kolab_client_task
$value . ': ' . kolab_html::escape($_data);
}
- if (empty($data['attributes']['form_fields'][$attr])) {
+ if (!array_key_exists($attr, (array) $data['attributes']['form_fields'])) {
$valtype = 'auto-readonly';
}