diff options
author | Aleksander Machniak <machniak@kolabsys.com> | 2016-06-27 11:57:13 +0200 |
---|---|---|
committer | Aleksander Machniak <machniak@kolabsys.com> | 2016-06-27 11:57:13 +0200 |
commit | 13a6a8f1ef5e1062d7cb806abcb8d30809ff0a9f (patch) | |
tree | 2ddad6bc77364884ad4791d51575265ca0f9709f | |
parent | c8c73c853b1c05d80b76b82fabbe337d9c3fb61e (diff) | |
download | webadmin-13a6a8f1ef5e1062d7cb806abcb8d30809ff0a9f.tar.gz |
T1326: Fix bug where resources name field could become disabled after object type modification
-rw-r--r-- | lib/client/kolab_client_task_settings.php | 2 |
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'; } |