summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-11-26 18:43:17 (GMT)
committerAleksander Machniak <alec@alec.pl>2013-11-26 18:44:50 (GMT)
commit56a5b6d36535025933270842a3aa80f16d67c0ee (patch)
tree9e6645006e9c71a2ff60961a6649e029ba79eb3c
parentbb52739dce13d471ebaf4a8b906b4ef2d598a526 (diff)
downloadkolab-wap-56a5b6d36535025933270842a3aa80f16d67c0ee.tar.gz
Fix lost object_type in validate() arguments
-rw-r--r--lib/kolab_api_service.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/kolab_api_service.php b/lib/kolab_api_service.php
index 1972cb0..4e5a029 100644
--- a/lib/kolab_api_service.php
+++ b/lib/kolab_api_service.php
@@ -284,6 +284,7 @@ abstract class kolab_api_service
$form_service = $this->controller->get_service('form_value');
// With the result, start validating the input
+ $attribs['object_type'] = $object_name;
$validate_result = $form_service->validate(null, $attribs);
$special_attr_validate = Array();