mirror of
https://github.com/moodle/moodle.git
synced 2025-04-20 07:56:06 +02:00
MDL-67514 customfield: correct external usescategories return type.
This commit is contained in:
parent
6ef4e66f03
commit
c85f45ee35
@ -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(
|
||||
|
Loading…
x
Reference in New Issue
Block a user