This commit is contained in:
Jake Dallimore 2020-12-02 16:20:37 +08:00
commit 3382bc0ece

View File

@ -118,7 +118,7 @@ class core_customfield_external extends external_api {
'component' => new external_value(PARAM_COMPONENT, 'component'),
'area' => new external_value(PARAM_ALPHANUMEXT, 'area'),
'itemid' => new external_value(PARAM_INT, 'itemid'),
'usescategories' => new external_value(PARAM_INT, 'view has categories'),
'usescategories' => new external_value(PARAM_BOOL, 'view has categories'),
'categories' => new external_multiple_structure(
new external_single_structure(
array(