mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
MDL-33730 missing description field cause error when call is done on default values
This commit is contained in:
parent
f8dfdb524b
commit
7a38450680
@ -910,7 +910,7 @@ class core_course_external extends external_api {
|
||||
' - user must have \'moodle/category:manage\' to search on theme'),
|
||||
'value' => new external_value(PARAM_RAW, 'the value to match')
|
||||
)
|
||||
), VALUE_DEFAULT, array()
|
||||
), 'criteria', VALUE_DEFAULT, array()
|
||||
),
|
||||
'addsubcategories' => new external_value(PARAM_BOOL, 'return the sub categories infos
|
||||
(1 - default) otherwise only the category info (0)', VALUE_DEFAULT, 1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user