MDL-46054 web_services: bug fix in core_user_get_users
Thanks to Mikko Rantanen for the patch
This commit is contained in:
committed by
Juan Leyva
parent
8c85081478
commit
395c27abcf
@@ -161,8 +161,8 @@ class mod_forum_external extends external_api {
|
||||
array(
|
||||
'forumids' => new external_multiple_structure(new external_value(PARAM_INT, 'forum ID',
|
||||
'', VALUE_REQUIRED, '', NULL_NOT_ALLOWED), 'Array of Forum IDs', VALUE_REQUIRED),
|
||||
'limitfrom' => new external_value(PARAM_INT, 'limit from', VALUE_OPTIONAL, 0),
|
||||
'limitnum' => new external_value(PARAM_INT, 'limit number', VALUE_OPTIONAL, 0)
|
||||
'limitfrom' => new external_value(PARAM_INT, 'limit from', VALUE_DEFAULT, 0),
|
||||
'limitnum' => new external_value(PARAM_INT, 'limit number', VALUE_DEFAULT, 0)
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user