summaryrefslogtreecommitdiffstats
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:58:40 +0200
commit30c9c5533b961815cf93b7e40833b6c0b0488dd6 (patch)
tree0ee77c67cfe0f1b200048bd3ae750f6f5287740b
parentde82f0ccedc7be62d14377ce04f44d38c5adfb61 (diff)
downloadwebadmin-kolab-webadmin-3.1.tar.gz
T1326: Fix bug where resources name field could become disabled after object type modificationkolab-webadmin-3.1
-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';
}