summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAleksander Machniak <machniak@kolabsys.com>2016-06-27 11:57:13 +0200
committerAleksander Machniak <machniak@kolabsys.com>2016-06-27 11:57:13 +0200
commit13a6a8f1ef5e1062d7cb806abcb8d30809ff0a9f (patch)
tree2ddad6bc77364884ad4791d51575265ca0f9709f /lib
parentc8c73c853b1c05d80b76b82fabbe337d9c3fb61e (diff)
downloadwebadmin-13a6a8f1ef5e1062d7cb806abcb8d30809ff0a9f.tar.gz
T1326: Fix bug where resources name field could become disabled after object type modification
Diffstat (limited to 'lib')
-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 19b23e6..0c5b9b3 100644
--- a/lib/client/kolab_client_task_settings.php
+++ b/lib/client/kolab_client_task_settings.php
@@ -661,7 +661,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';
}